[Bf-blender-cvs] [ccc776b] cycles_kernel_split: Remove un-necessary back-slash in macro definition

varunsundar08 noreply at git.blender.org
Tue May 5 20:05:46 CEST 2015


Commit: ccc776b6902bbc6b4924d17a17f82a0857a238bd
Author: varunsundar08
Date:   Tue May 5 14:57:25 2015 +0530
Branches: cycles_kernel_split
https://developer.blender.org/rBccc776b6902bbc6b4924d17a17f82a0857a238bd

Remove un-necessary back-slash in macro definition

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

M	intern/cycles/device/device_opencl.cpp

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

diff --git a/intern/cycles/device/device_opencl.cpp b/intern/cycles/device/device_opencl.cpp
index d43807e..1a6b13a 100644
--- a/intern/cycles/device/device_opencl.cpp
+++ b/intern/cycles/device/device_opencl.cpp
@@ -413,9 +413,7 @@ public:
 #define opencl_assert(stmt) \
 	{ \
 		cl_int err = stmt; \
-		\
 		if(err != CL_SUCCESS) { \
-		\
 			string message = string_printf("OpenCL error: %s in %s", clewErrorString(err), #stmt); \
 			if(error_msg == "") \
 				error_msg = message; \




More information about the Bf-blender-cvs mailing list