[Bf-blender-cvs] [8d72d1c] vertex_paint_pbvh: quiet warning

Campbell Barton noreply at git.blender.org
Mon Mar 23 15:41:38 CET 2015


Commit: 8d72d1cca741e6589f543a5dc7682cddea2ecbc6
Author: Campbell Barton
Date:   Tue Mar 24 01:41:19 2015 +1100
Branches: vertex_paint_pbvh
https://developer.blender.org/rB8d72d1cca741e6589f543a5dc7682cddea2ecbc6

quiet warning

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

M	source/blender/editors/sculpt_paint/paint_vertex_pbvh.c

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

diff --git a/source/blender/editors/sculpt_paint/paint_vertex_pbvh.c b/source/blender/editors/sculpt_paint/paint_vertex_pbvh.c
index 3d7725e..37c2d4a 100644
--- a/source/blender/editors/sculpt_paint/paint_vertex_pbvh.c
+++ b/source/blender/editors/sculpt_paint/paint_vertex_pbvh.c
@@ -157,6 +157,7 @@ static int vpaint_invoke(bContext *C, wmOperator *op, const wmEvent *event)
 //	op->customdata = paint_stroke_new(C, op, NULL, vpaint_stroke_test_start,
 //	                                  vpaint_stroke_update_step, NULL,
 //	                                  vpaint_stroke_done, event->type);
+	(void)vpaint_stroke_test_start;
 	
 	if ((retval = op->type->modal(C, op, event)) == OPERATOR_FINISHED) {
 		paint_stroke_data_free(op);




More information about the Bf-blender-cvs mailing list