From 332f225a945acd9c884dc0fb7cb993e6865dc415 Mon Sep 17 00:00:00 2001 From: Tim Rogers Date: Thu, 27 Oct 2011 16:39:07 -0800 Subject: Warnings cleanup [git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 10753] --- libopencl/opencl_runtime_api.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libopencl') 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 -- cgit v1.3