diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-08-05 16:50:22 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-08-05 16:50:22 +0300 |
commit | 5fe5118845f787b2891d9da5379cfba219183370 (patch) | |
tree | 040743f7e6ead90369f5b8c63494bba4d3c6ca17 /source/blender | |
parent | 5e050918d84b20635b58be2d0d1fee7e1f24236c (diff) |
Cleanup: unused warning
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenkernel/intern/subsurf_ccg.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/source/blender/blenkernel/intern/subsurf_ccg.c b/source/blender/blenkernel/intern/subsurf_ccg.c index 9971a9ef141..aa3001630ef 100644 --- a/source/blender/blenkernel/intern/subsurf_ccg.c +++ b/source/blender/blenkernel/intern/subsurf_ccg.c @@ -4858,6 +4858,8 @@ bool subsurf_has_edges(DerivedMesh *dm) if (ccgdm->useGpuBackend) { return true; } +#else + (void)ccgdm; #endif return dm->getNumEdges(dm) != 0; } @@ -4869,6 +4871,8 @@ bool subsurf_has_faces(DerivedMesh *dm) if (ccgdm->useGpuBackend) { return true; } +#else + (void)ccgdm; #endif return dm->getNumPolys(dm) != 0; } |