summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorI-Jui (Ray) Sung <ray@multicorewareinc.com>2013-11-29 02:22:54 -0600
committerI-Jui (Ray) Sung <ray@multicorewareinc.com>2013-11-29 02:24:09 -0600
commitbf777a24956e8c62d969c2361a200e90eec651c8 (patch)
tree642cf898d91003cae89c01eab3b1285c81717aac
parent2c544ef03e3163bcad7209da99ead207e31bc868 (diff)
GPU Calc: fix warnings
Change-Id: I5b98eecc55dbb89fa0f4127f437e0e8cc798eb86
-rw-r--r--sc/source/core/opencl/opencl_device.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/sc/source/core/opencl/opencl_device.cxx b/sc/source/core/opencl/opencl_device.cxx
index de99e0ddc0dc..79e2396ef12f 100644
--- a/sc/source/core/opencl/opencl_device.cxx
+++ b/sc/source/core/opencl/opencl_device.cxx
@@ -404,7 +404,9 @@ ds_status pickBestDevice(ds_profile* profile, int* bestDeviceIdx)
double fScore = DBL_MAX;
if (pScore)
+ {
fScore = pScore->fTime;
+ }
else
{
LOG_PRINTF("Unusual null score");