diff options
author | Tor Lillqvist <tml@collabora.com> | 2014-11-27 15:32:45 +0200 |
---|---|---|
committer | Tor Lillqvist <tml@collabora.com> | 2014-11-28 10:24:36 +0200 |
commit | 04e4fc2bdaacf1cbfee6676ba6ac921e61218f4f (patch) | |
tree | 34a460380bfb80d71319d0c729ec89d0f9d59436 /sc | |
parent | 87c18d6f4cb9bcb8c4c9e2c80e4d779f01675ff6 (diff) |
WaE: variable 'bSetOpenCL' set but not used
Change-Id: I897accf5b4259a4a01198118421abaa55465207e
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/tool/formulaopt.cxx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/sc/source/core/tool/formulaopt.cxx b/sc/source/core/tool/formulaopt.cxx index 60378df03122..5da7b01e6cf9 100644 --- a/sc/source/core/tool/formulaopt.cxx +++ b/sc/source/core/tool/formulaopt.cxx @@ -649,7 +649,9 @@ void ScFormulaCfg::Commit() break; } } -#if HAVE_FEATURE_OPENCL +#if !HAVE_FEATURE_OPENCL + (void) bSetOpenCL; +#else if(bSetOpenCL) sc::FormulaGroupInterpreter::switchOpenCLDevice( GetCalcConfig().maOpenCLDevice, GetCalcConfig().mbOpenCLAutoSelect); |