[Bf-blender-cvs] [4a8146eb8f8] blender-v2.91-release: Cycles: silence unused variable warning
Dalai Felinto
noreply at git.blender.org
Thu Oct 29 18:36:18 CET 2020
Commit: 4a8146eb8f8d06099d3d4808e7c1cf186d6cd3cf
Author: Dalai Felinto
Date: Thu Oct 29 18:33:29 2020 +0100
Branches: blender-v2.91-release
https://developer.blender.org/rB4a8146eb8f8d06099d3d4808e7c1cf186d6cd3cf
Cycles: silence unused variable warning
===================================================================
M intern/cycles/bvh/bvh.cpp
===================================================================
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:
More information about the Bf-blender-cvs
mailing list