summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorJulien Nabet <serval2412@yahoo.fr>2013-08-22 06:33:39 +0200
committerJulien Nabet <serval2412@yahoo.fr>2013-08-22 07:14:58 +0200
commitaf14ad6c20f9e8422a1016b650c7d83a5cc7dc00 (patch)
tree8e1784a68478f66c92e3849088710a39db1c2ff9 /sc
parent8b5dc58a3e36370c7469e341ac0400cebd7e131c (diff)
cppcheck: fix redundant assignments
Change-Id: Ib0c2f0c2b67f40ce75469b434a67c62187aca93d
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/opencl/openclwrapper.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/core/opencl/openclwrapper.cxx b/sc/source/core/opencl/openclwrapper.cxx
index 055771704c37..1179f0f1e1fb 100644
--- a/sc/source/core/opencl/openclwrapper.cxx
+++ b/sc/source/core/opencl/openclwrapper.cxx
@@ -848,6 +848,7 @@ int OpenclDevice::InitOpenclRunEnv( GPUEnv *gpuInfo )
}
clStatus = clGetCommandQueueInfo( gpuInfo->mpCmdQueue, CL_QUEUE_THREAD_HANDLE_AMD, 0, NULL, NULL );
+ CHECK_OPENCL( clStatus, "GetCommandQueueInfo" );
// Check device extensions for double type
size_t aDevExtInfoSize = 0;