Freestyle: Code cleanup, silence warning in release mode
authorSergey Sharybin <sergey.vfx@gmail.com>
Fri, 27 Mar 2015 19:34:16 +0000 (00:34 +0500)
committerSergey Sharybin <sergey.vfx@gmail.com>
Fri, 27 Mar 2015 19:34:16 +0000 (00:34 +0500)
source/blender/freestyle/intern/blender_interface/BlenderFileLoader.cpp

index dfcc77d3b23c5fb6f6819c619f456e534d173f56..f5f76516d38214e995b7cd5bf6f9d4b191e9ede2 100644 (file)
@@ -256,6 +256,7 @@ void BlenderFileLoader::clipTriangle(int numTris, float triCoords[][3], float v1
                }
        }
        BLI_assert(k == 2 + numTris);
+       (void)numTris;  /* Ignored in release builds. */
 }
 
 void BlenderFileLoader::addTriangle(struct LoaderState *ls, float v1[3], float v2[3], float v3[3],