From a0c187667ec6eaa67b450a7fc315f938f22e94cb Mon Sep 17 00:00:00 2001 From: Julian Eisel Date: Sun, 7 Aug 2016 23:20:22 +0200 Subject: Cycles: Quiet warning with WITH_OPENSUBDIV disabled Checked with @maiself, for now going with this simple solution. --- intern/cycles/subd/subd_patch_table.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'intern/cycles/subd') 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 } -- cgit v1.2.3