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:
authorJulian Eisel <eiseljulian@gmail.com>2016-08-08 00:20:22 +0300
committerJulian Eisel <eiseljulian@gmail.com>2016-08-08 00:20:22 +0300
commita0c187667ec6eaa67b450a7fc315f938f22e94cb (patch)
tree025ce3bc1c4fdc22316d0fc87a5093fbad28fb6e /intern/cycles/subd
parentaa30f993d2519e6e5aadbc77202e65086ecde565 (diff)
Cycles: Quiet warning with WITH_OPENSUBDIV disabled
Checked with @maiself, for now going with this simple solution.
Diffstat (limited to 'intern/cycles/subd')
-rw-r--r--intern/cycles/subd/subd_patch_table.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/intern/cycles/subd/subd_patch_table.cpp b/intern/cycles/subd/subd_patch_table.cpp
index a32533bbf3e..68ec1b2c6a6 100644
--- a/intern/cycles/subd/subd_patch_table.cpp
+++ b/intern/cycles/subd/subd_patch_table.cpp
@@ -251,6 +251,9 @@ void PackedPatchTable::pack(Far::PatchTable* patch_table, int offset)
}
build_patch_map(*this, patch_table, offset);
+#else
+ (void)patch_table;
+ (void)offset;
#endif
}