diff options
Diffstat (limited to 'libopencl/opencl_runtime_api.cc')
| -rw-r--r-- | libopencl/opencl_runtime_api.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libopencl/opencl_runtime_api.cc b/libopencl/opencl_runtime_api.cc index f9c1515..2f71848 100644 --- a/libopencl/opencl_runtime_api.cc +++ b/libopencl/opencl_runtime_api.cc @@ -691,8 +691,7 @@ clCreateProgramWithBinary(cl_context /* context */, cl_int * /* errcode_ret */) CL_API_SUFFIX__VERSION_1_0 { opencl_not_finished(__my_func__, __LINE__ ); - cl_program temp; - return temp; + return cl_program(); } extern CL_API_ENTRY cl_int CL_API_CALL |
