Cleanup: warnings (clang)
[blender.git] / source / blender / editors / gpencil / gpencil_intern.h
index 71d293d52446af724bb716ee1b6419747fe536d7..aaeb2603accdc51d2646e27018ea1436fe6b4a51 100644 (file)
@@ -508,7 +508,7 @@ struct GP_EditableStrokes_Iter {
  */
 #define GP_EDITABLE_STROKES_BEGIN(gpstroke_iter, C, gpl, gps)                           \
 {                                                                                       \
-       struct GP_EditableStrokes_Iter gpstroke_iter = {0};                                 \
+       struct GP_EditableStrokes_Iter gpstroke_iter = {{{0}}};                             \
        Depsgraph *depsgraph_ = CTX_data_depsgraph(C);                                      \
        Object *obact_ = CTX_data_active_object(C);                                         \
        bGPdata *gpd_ = CTX_data_gpencil_data(C);                                           \