Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/makesrna/RNA_access.h')
-rw-r--r--source/blender/makesrna/RNA_access.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/makesrna/RNA_access.h b/source/blender/makesrna/RNA_access.h
index 5866302a852..70194d71e26 100644
--- a/source/blender/makesrna/RNA_access.h
+++ b/source/blender/makesrna/RNA_access.h
@@ -1157,7 +1157,7 @@ void RNA_collection_clear(PointerRNA *ptr, const char *name);
#define RNA_PROP_END \
} \
RNA_property_collection_end(&rna_macro_iter); \
- }
+ } ((void)0)
#define RNA_STRUCT_BEGIN(sptr, prop) \
{ \
@@ -1174,7 +1174,7 @@ void RNA_collection_clear(PointerRNA *ptr, const char *name);
#define RNA_STRUCT_END \
} \
RNA_property_collection_end(&rna_macro_iter); \
- }
+ } ((void)0)
/* check if the idproperty exists, for operators */
bool RNA_property_is_set_ex(PointerRNA *ptr, PropertyRNA *prop, bool use_ghost);