summaryrefslogtreecommitdiff
path: root/sc
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-01-24 09:17:33 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-01-24 09:46:18 +0000
commitbfd17da03a138cbf911a3e080407c0bbdd9bef22 (patch)
treee79eb80f8a01839d5f57132d616b6c2efecb4d7b /sc
parentaf34f26e94f045080c060ec47879995a0447d367 (diff)
coverity#1157757 Logically dead code
must have meant deviceScoreStart here Change-Id: I24530d0674e0a9de373bf54cfc3e3ae5ff124752
Diffstat (limited to 'sc')
-rw-r--r--sc/source/core/opencl/opencl_device_selection.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sc/source/core/opencl/opencl_device_selection.h b/sc/source/core/opencl/opencl_device_selection.h
index 74d2f1f6cd3b..85ee9f683fd5 100644
--- a/sc/source/core/opencl/opencl_device_selection.h
+++ b/sc/source/core/opencl/opencl_device_selection.h
@@ -551,7 +551,7 @@ inline ds_status readProfileFromFile(ds_profile* profile, ds_score_deserializer
{
deviceScoreStart = findString(dataStart, contentEnd, DS_TAG_SCORE);
- if (deviceNameStart == NULL)
+ if (deviceScoreStart == NULL)
{
status = DS_PROFILE_FILE_ERROR;
goto cleanup;