[Bf-blender-cvs] [1bd28a5e0ca] master: Cleanup: unused variable

Campbell Barton noreply at git.blender.org
Wed Sep 15 14:38:34 CEST 2021


Commit: 1bd28a5e0ca6d16c21b6365b389c9c1830635a58
Author: Campbell Barton
Date:   Wed Sep 15 22:34:05 2021 +1000
Branches: master
https://developer.blender.org/rB1bd28a5e0ca6d16c21b6365b389c9c1830635a58

Cleanup: unused variable

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

M	source/blender/gpencil_modifiers/intern/MOD_gpencillength.c

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

diff --git a/source/blender/gpencil_modifiers/intern/MOD_gpencillength.c b/source/blender/gpencil_modifiers/intern/MOD_gpencillength.c
index 908918b8591..6aa0e6c152e 100644
--- a/source/blender/gpencil_modifiers/intern/MOD_gpencillength.c
+++ b/source/blender/gpencil_modifiers/intern/MOD_gpencillength.c
@@ -143,7 +143,6 @@ static void bakeModifier(Main *UNUSED(bmain),
 
   LISTBASE_FOREACH (bGPDlayer *, gpl, &gpd->layers) {
     LISTBASE_FOREACH (bGPDframe *, gpf, &gpl->frames) {
-      LengthGpencilModifierData *lmd = (LengthGpencilModifierData *)md;
       LISTBASE_FOREACH (bGPDstroke *, gps, &gpf->strokes) {
         deformStroke(md, depsgraph, ob, gpl, gpf, gps);
       }



More information about the Bf-blender-cvs mailing list