diff options
author | Campbell Barton <campbell@blender.org> | 2022-03-25 04:04:12 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-03-25 04:04:12 +0300 |
commit | a446c53f168f05b971bf2784aa92b27b60504389 (patch) | |
tree | c71d8f2956ca5194805bd78c203d2f65bdfd8dab /source/blender/gpencil_modifiers/intern | |
parent | d3a1e9cbb92cca04e2fcbce3b8de3fdf25f2fcc6 (diff) |
Cleanup: unused warnings
Diffstat (limited to 'source/blender/gpencil_modifiers/intern')
-rw-r--r-- | source/blender/gpencil_modifiers/intern/MOD_gpencilenvelope.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/blender/gpencil_modifiers/intern/MOD_gpencilenvelope.c b/source/blender/gpencil_modifiers/intern/MOD_gpencilenvelope.c index 0f736cac464..4b95d73036e 100644 --- a/source/blender/gpencil_modifiers/intern/MOD_gpencilenvelope.c +++ b/source/blender/gpencil_modifiers/intern/MOD_gpencilenvelope.c @@ -570,7 +570,6 @@ static void foreachIDLink(GpencilModifierData *md, Object *ob, IDWalkFunc walk, static void panel_draw(const bContext *UNUSED(C), Panel *panel) { - uiLayout *row; uiLayout *layout = panel->layout; PointerRNA *ptr = gpencil_modifier_panel_get_property_pointers(panel, NULL); @@ -600,7 +599,7 @@ static void panelRegister(ARegionType *region_type) { PanelType *panel_type = gpencil_modifier_panel_register( region_type, eGpencilModifierType_Envelope, panel_draw); - PanelType *mask_panel_type = gpencil_modifier_subpanel_register( + gpencil_modifier_subpanel_register( region_type, "mask", "Influence", NULL, mask_panel_draw, panel_type); } |