diff options
author | Campbell Barton <campbell@blender.org> | 2022-09-28 02:40:52 +0300 |
---|---|---|
committer | Campbell Barton <campbell@blender.org> | 2022-09-28 02:41:28 +0300 |
commit | 6f9b84c5ce34b7e0e40f8da1f35ef3dd2397e218 (patch) | |
tree | a80eb98303cb5429e9e63ab112d8a4eedf5b8b77 /source/blender/gpencil_modifiers | |
parent | 552561d46e0d3b41a4aff4bb315ea2be628bef58 (diff) |
Cleanup: compiler warnings
Diffstat (limited to 'source/blender/gpencil_modifiers')
-rw-r--r-- | source/blender/gpencil_modifiers/intern/MOD_gpenciltime.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/gpencil_modifiers/intern/MOD_gpenciltime.c b/source/blender/gpencil_modifiers/intern/MOD_gpenciltime.c index e3d49ba37d5..5af8c0807b8 100644 --- a/source/blender/gpencil_modifiers/intern/MOD_gpenciltime.c +++ b/source/blender/gpencil_modifiers/intern/MOD_gpenciltime.c @@ -266,7 +266,7 @@ static int remapTime(struct GpencilModifierData *md, } static void segment_list_item(struct uiList *UNUSED(ui_list), - struct bContext *UNUSED(C), + const struct bContext *UNUSED(C), struct uiLayout *layout, struct PointerRNA *UNUSED(idataptr), struct PointerRNA *itemptr, @@ -313,7 +313,7 @@ static void panel_draw(const bContext *C, Panel *panel) if (mode == GP_TIME_MODE_CHAIN) { - uiLayout *row = uiLayoutRow(layout, false); + row = uiLayoutRow(layout, false); uiLayoutSetPropSep(row, false); uiTemplateList(row, @@ -331,7 +331,7 @@ static void panel_draw(const bContext *C, Panel *panel) 1, UI_TEMPLATE_LIST_FLAG_NONE); - uiLayout *col = uiLayoutColumn(row, false); + col = uiLayoutColumn(row, false); uiLayoutSetContextPointer(col, "modifier", ptr); uiLayout *sub = uiLayoutColumn(col, true); |