[Bf-blender-cvs] [a6f7333] master: Fix strict compiler warnings

Sergey Sharybin noreply at git.blender.org
Thu Sep 8 09:41:43 CEST 2016


Commit: a6f733310b76dbe292f9b5541c39a332f88f92b0
Author: Sergey Sharybin
Date:   Thu Sep 8 09:39:18 2016 +0200
Branches: master
https://developer.blender.org/rBa6f733310b76dbe292f9b5541c39a332f88f92b0

Fix strict compiler warnings

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

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 73eac5d..3d0323d 100644
--- a/source/blender/editors/gpencil/gpencil_edit.c
+++ b/source/blender/editors/gpencil/gpencil_edit.c
@@ -2264,7 +2264,6 @@ static tGPDinterpolate *gp_session_init_interpolation(bContext *C, wmOperator *o
 static void gpencil_interpolate_exit(bContext *C, wmOperator *op)
 {
 	tGPDinterpolate *tgpi = op->customdata;
-	bGPdata *gpd = CTX_data_gpencil_data(C);
 	tGPDinterpolate_layer *tgpil;
 
 	/* don't assume that operator data exists at all */
@@ -2334,7 +2333,7 @@ static void gpencil_interpolate_draw_3d(const struct bContext *UNUSED(C), ARegio
 }
 
 /* Invoke handler: Initialize the operator */
-static int gpencil_interpolate_invoke(bContext *C, wmOperator *op, const wmEvent *event)
+static int gpencil_interpolate_invoke(bContext *C, wmOperator *op, const wmEvent *UNUSED(event))
 {
 	wmWindow *win = CTX_wm_window(C);
 	Scene *scene = CTX_data_scene(C);




More information about the Bf-blender-cvs mailing list