[Libreoffice-commits] core.git: sc/source

I-Jui Sung (Ray) ray at multicorewareinc.com
Fri Nov 29 00:24:31 PST 2013


 sc/source/core/opencl/opencl_device.cxx |    2 ++
 1 file changed, 2 insertions(+)

New commits:
commit bf777a24956e8c62d969c2361a200e90eec651c8
Author: I-Jui (Ray) Sung <ray at multicorewareinc.com>
Date:   Fri Nov 29 02:22:54 2013 -0600

    GPU Calc: fix warnings
    
    Change-Id: I5b98eecc55dbb89fa0f4127f437e0e8cc798eb86

diff --git a/sc/source/core/opencl/opencl_device.cxx b/sc/source/core/opencl/opencl_device.cxx
index de99e0d..79e2396 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");


More information about the Libreoffice-commits mailing list