Cleanup: Fix missing-braces warning on macOS Clang

This commit is contained in:
Ankit Meel 2021-05-16 11:19:21 +05:30
parent 49cb30bb0c
commit 0e581f6196
Notes: blender-bot 2023-02-14 02:41:05 +01:00
Referenced by issue #87486, Can't open file with modifiers to a grease pencil library override
Referenced by issue #83945, Reflection of smoke on object surface has white box surrounding
1 changed files with 1 additions and 1 deletions

View File

@ -35,7 +35,7 @@ struct GSet;
struct GSetIterator;
#define SEQ_ITERATOR_FOREACH(var, collection) \
for (SeqIterator iter = {NULL}; SEQ_iterator_ensure(collection, &iter, &var) && var != NULL; \
for (SeqIterator iter = {{NULL}}; SEQ_iterator_ensure(collection, &iter, &var) && var != NULL; \
var = SEQ_iterator_yield(&iter))
#define SEQ_ALL_BEGIN(ed, var) \