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:
authorCampbell Barton <ideasman42@gmail.com>2012-05-27 16:21:13 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-05-27 16:21:13 +0400
commit2ab62ce126651c600a8039de0dd95a4e3c02ea47 (patch)
tree7bd05d0ffa253332de7328d77e0d712fea6ae880 /source/blender/editors/armature
parentaa6301674471500f74d3984d6d17d82ad5e8724f (diff)
code cleanup: defines with braces - end with '(void)0' so callers must end with ';' like normal function.
... without this some editors dont parse the source so well.
Diffstat (limited to 'source/blender/editors/armature')
-rw-r--r--source/blender/editors/armature/reeb.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/armature/reeb.c b/source/blender/editors/armature/reeb.c
index a629312e732..20b95ea55d6 100644
--- a/source/blender/editors/armature/reeb.c
+++ b/source/blender/editors/armature/reeb.c
@@ -475,8 +475,8 @@ static void NodeDegreeIncrement(ReebGraph *UNUSED(rg), ReebNode *node)
}
#else
-#define NodeDegreeDecrement(rg, node) {node->degree--; }
-#define NodeDegreeIncrement(rg, node) {node->degree++; }
+# define NodeDegreeDecrement(rg, node) {node->degree--; } (void)0
+# define NodeDegreeIncrement(rg, node) {node->degree++; } (void)0
#endif
void repositionNodes(ReebGraph *rg)