diff options
| author | Tim Rogers <[email protected]> | 2011-10-27 16:39:07 -0800 |
|---|---|---|
| committer | Andrew Boktor <[email protected]> | 2014-08-14 13:18:23 -0700 |
| commit | 332f225a945acd9c884dc0fb7cb993e6865dc415 (patch) | |
| tree | b9b92ef871a4d64a0e077ce31fe25e67ae6da58b /libopencl | |
| parent | f76b1aaeea5077e83f95ef39564e73bcbec25b37 (diff) | |
Warnings cleanup
[git-p4: depot-paths = "//depot/gpgpu_sim_research/fermi/distribution/": change = 10753]
Diffstat (limited to 'libopencl')
| -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 |
