[Bf-blender-cvs] [ff45930] master: Cleanup: Make strict flags happy

Sergey Sharybin noreply at git.blender.org
Thu Apr 2 13:03:47 CEST 2015


Commit: ff45930cc5ada1e32af569d0f90d18af2a1cc771
Author: Sergey Sharybin
Date:   Thu Apr 2 16:01:23 2015 +0500
Branches: master
https://developer.blender.org/rBff45930cc5ada1e32af569d0f90d18af2a1cc771

Cleanup: Make strict flags happy

We might also just remove those arguments perhaps?

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

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

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

diff --git a/source/blender/editors/gpencil/drawgpencil.c b/source/blender/editors/gpencil/drawgpencil.c
index e4d13e2..93a4854 100644
--- a/source/blender/editors/gpencil/drawgpencil.c
+++ b/source/blender/editors/gpencil/drawgpencil.c
@@ -1047,7 +1047,7 @@ static void gp_draw_data_layers(bGPdata *gpd, int offsx, int offsy, int winx, in
 }
 
 /* draw a short status message in the top-right corner */
-static void gp_draw_status_text(bGPdata *gpd, int offsx, int offsy, int winx, int winy, int cfra, int dflag)
+static void gp_draw_status_text(bGPdata *gpd, int offsx, int offsy, int winx, int winy, int UNUSED(cfra), int UNUSED(dflag))
 {
 	/* for now, this should only be used to indicate when we are in stroke editmode */
 	if (gpd->flag & GP_DATA_STROKE_EDITMODE) {




More information about the Bf-blender-cvs mailing list