diff options
author | Dalai Felinto <dalai@blender.org> | 2020-10-29 20:33:29 +0300 |
---|---|---|
committer | Dalai Felinto <dalai@blender.org> | 2020-10-29 20:33:29 +0300 |
commit | 4a8146eb8f8d06099d3d4808e7c1cf186d6cd3cf (patch) | |
tree | 7a04e88e23227f67e75d268c810ffc9e8a185343 /intern/cycles/bvh | |
parent | 8c3d42bd0f0160ba58c6a932c0e4c228ce6b0426 (diff) |
Cycles: silence unused variable warning
Diffstat (limited to 'intern/cycles/bvh')
-rw-r--r-- | intern/cycles/bvh/bvh.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/intern/cycles/bvh/bvh.cpp b/intern/cycles/bvh/bvh.cpp index 2a1114229da..222c1c40f92 100644 --- a/intern/cycles/bvh/bvh.cpp +++ b/intern/cycles/bvh/bvh.cpp @@ -108,6 +108,7 @@ BVH *BVH::create(const BVHParams ¶ms, #ifdef WITH_EMBREE return new BVHEmbree(params, geometry, objects, device); #else + (void)device; break; #endif case BVH_LAYOUT_OPTIX: |