diff options
author | Caolán McNamara <caolanm@redhat.com> | 2018-09-27 13:40:33 +0100 |
---|---|---|
committer | Caolán McNamara <caolanm@redhat.com> | 2018-09-27 16:31:02 +0200 |
commit | 06e81e90100bb7e3779e461c91530f4b2d9ee3ff (patch) | |
tree | 6ddb8cd03bb548fd48a6dc6288c3063856a76259 /sc | |
parent | bfaf12201ca119c03f90f54511e443cb9a0cb83e (diff) |
coverity#1439332 silence Identical code for different branches
Change-Id: I9f477e063fd764fff24843562a2de34b5498d4c5
Reviewed-on: https://gerrit.libreoffice.org/61038
Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sc')
-rw-r--r-- | sc/source/core/opencl/formulagroupcl.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sc/source/core/opencl/formulagroupcl.cxx b/sc/source/core/opencl/formulagroupcl.cxx index 3e61e4283479..f4d1c518d319 100644 --- a/sc/source/core/opencl/formulagroupcl.cxx +++ b/sc/source/core/opencl/formulagroupcl.cxx @@ -2149,6 +2149,7 @@ static DynamicKernelArgument* VectorRefFactory( const ScCalcConfig& config, cons // SUMIFS does not perform parallel reduction at DoubleVectorRef level if (dynamic_cast<OpSumIfs*>(pCodeGen.get())) { + // coverity[identical_branches] - only identical if Base happens to be VectorRef if (index == 0) // the first argument of OpSumIfs cannot be strings anyway return new DynamicKernelSlidingArgument<VectorRef>(config, s, ft, pCodeGen, index); return new DynamicKernelSlidingArgument<Base>(config, s, ft, pCodeGen, index); |