diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-05-03 05:41:06 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-05-03 05:43:02 +0300 |
commit | b8226a3ae1f27330cdd3d14ba7d9f98f998a5ca5 (patch) | |
tree | 360e913b21dbf87d8e01a55277e00fa5a7741541 /source/blender/freestyle | |
parent | a677cdab56b27555303e9634db1e7a819de8be30 (diff) |
Cleanup: warnings
Quiet extra-semi-stmt & missing-variable-declarations
Diffstat (limited to 'source/blender/freestyle')
-rw-r--r-- | source/blender/freestyle/intern/system/RandGen.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/freestyle/intern/system/RandGen.cpp b/source/blender/freestyle/intern/system/RandGen.cpp index 77eb9a8c10a..719287b102f 100644 --- a/source/blender/freestyle/intern/system/RandGen.cpp +++ b/source/blender/freestyle/intern/system/RandGen.cpp @@ -49,7 +49,8 @@ namespace Freestyle { long l = (long)(x) * (long)(y); \ (z)[0] = LOW(l); \ (z)[1] = HIGH(l); \ - } + } \ + ((void)0) #define CARRY(x, y) ((unsigned long)((long)(x) + (long)(y)) > MASK) #define ADDEQU(x, y, z) (z = CARRY(x, (y)), x = LOW(x + (y))) |