[Bf-blender-cvs] [a48d3417b5] master: Fix strict compiler warning message

Sergey Sharybin noreply at git.blender.org
Wed Jan 18 15:57:00 CET 2017


Commit: a48d3417b566236ad48a107e6d0b98687f96c4fd
Author: Sergey Sharybin
Date:   Wed Jan 18 15:56:40 2017 +0100
Branches: master
https://developer.blender.org/rBa48d3417b566236ad48a107e6d0b98687f96c4fd

Fix strict compiler warning message

===================================================================

M	source/blender/editors/gpencil/gpencil_edit.c

===================================================================

diff --git a/source/blender/editors/gpencil/gpencil_edit.c b/source/blender/editors/gpencil/gpencil_edit.c
index 3ac085e23d..ccccd6381b 100644
--- a/source/blender/editors/gpencil/gpencil_edit.c
+++ b/source/blender/editors/gpencil/gpencil_edit.c
@@ -685,7 +685,7 @@ void GPENCIL_OT_move_to_layer(wmOperatorType *ot)
 /* ********************* Add Blank Frame *************************** */
 
 /* Basically the same as the drawing op */
-static int gp_blank_frame_add_poll(bContext *C)
+static int UNUSED_FUNCTION(gp_blank_frame_add_poll)(bContext *C)
 {
 	if (ED_operator_regionactive(C)) {
 		/* check if current context can support GPencil data */




More information about the Bf-blender-cvs mailing list