summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2014-10-30 11:36:41 +0000
committerCaolán McNamara <caolanm@redhat.com>2014-10-30 14:34:27 +0000
commit8902b340efd15af95df215c717e9807471f88446 (patch)
tree2cec2d8f28c6dfdfd9700b1c082a6d28eb110830
parentb723d52a978f3c0f25639b17999acf7dae8c50b5 (diff)
coverity#1242442 Identical code for different branches
Change-Id: Idf7d07398e42b1839c64b0607ec23c12d4c406ad
-rw-r--r--sc/source/core/opencl/op_statistical.cxx9
1 files changed, 1 insertions, 8 deletions
diff --git a/sc/source/core/opencl/op_statistical.cxx b/sc/source/core/opencl/op_statistical.cxx
index 839b46c3c2c9..7fe8eedd56bb 100644
--- a/sc/source/core/opencl/op_statistical.cxx
+++ b/sc/source/core/opencl/op_statistical.cxx
@@ -5630,14 +5630,7 @@ void OpMedian::GenSlidingWindowFunction(
{
ss << "gid0; endFlag = "<< nCurWindowSize <<"-gid0;\n";
}
- if (pCurDVR->IsStartFixed() && !pCurDVR->IsEndFixed())
- {
- ss << "gid0; endFlag = gid0+"<< nCurWindowSize <<";\n";
- }
- else
- {
- ss << "gid0; endFlag = gid0+"<< nCurWindowSize <<";\n";
- }
+ ss << "gid0; endFlag = gid0+"<< nCurWindowSize <<";\n";
}
else
{