[Bf-blender-cvs] [2a07f73] cycles_kernel_split: Cycles: Fix compilation error in release builds with strict flags

Sergey Sharybin noreply at git.blender.org
Mon Mar 30 17:27:15 CEST 2015


Commit: 2a07f73faaa5c1e4b999491632e591a31547b6b6
Author: Sergey Sharybin
Date:   Mon Mar 30 19:03:08 2015 +0500
Branches: cycles_kernel_split
https://developer.blender.org/rB2a07f73faaa5c1e4b999491632e591a31547b6b6

Cycles: Fix compilation error in release builds with strict flags

===================================================================

M	intern/cycles/device/device_opencl.cpp

===================================================================

diff --git a/intern/cycles/device/device_opencl.cpp b/intern/cycles/device/device_opencl.cpp
index 04fcb70..875c3ff 100644
--- a/intern/cycles/device/device_opencl.cpp
+++ b/intern/cycles/device/device_opencl.cpp
@@ -1541,6 +1541,7 @@ public:
 			default:
 				assert(0);
 		}
+		return "";
 	}
 #endif




More information about the Bf-blender-cvs mailing list