[Bf-blender-cvs] [10995191d17] temp-gpencil-bezier-stroke-type: Cleanup: Fix compiler warning

Antonio Vazquez noreply at git.blender.org
Thu Mar 25 16:27:49 CET 2021


Commit: 10995191d17d3f0a5646dd0a9aa5c2ef31ba56e0
Author: Antonio Vazquez
Date:   Thu Mar 25 16:27:43 2021 +0100
Branches: temp-gpencil-bezier-stroke-type
https://developer.blender.org/rB10995191d17d3f0a5646dd0a9aa5c2ef31ba56e0

Cleanup: Fix compiler warning

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

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

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

diff --git a/source/blender/editors/gpencil/gpencil_curve_draw.c b/source/blender/editors/gpencil/gpencil_curve_draw.c
index 4bc4537732e..69da5f63f58 100644
--- a/source/blender/editors/gpencil/gpencil_curve_draw.c
+++ b/source/blender/editors/gpencil/gpencil_curve_draw.c
@@ -341,7 +341,6 @@ static void gpencil_curve_draw_update(bContext *C, tGPDcurve_draw *tcd)
   int tot_points = gpc->tot_curve_points;
   bGPDcurve_point *cpt = &gpc->curve_points[tot_points - 1];
   BezTriple *bezt = &cpt->bezt;
-  Brush *brush = tcd->brush;
 
   float co[3];
   switch (tcd->state) {



More information about the Bf-blender-cvs mailing list