summaryrefslogtreecommitdiff
path: root/dbaccess
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2016-05-18 12:33:22 +0200
committerNoel Grandin <noelgrandin@gmail.com>2016-05-19 06:43:39 +0000
commit35b3ae2ceb6e647c44f1a8adc9d7b0548a3ca383 (patch)
tree07c3e481db2a8c8850c96e2b53f4ff9e68cf2786 /dbaccess
parentb73f45ef0bf3230275c11fc9c70c22625332b695 (diff)
clang-tidy clang-analyzer-alpha.core.IdenticalExpr
Change-Id: I110d8d63d5a6657c18aba97227c046027eb8f7f4 Reviewed-on: https://gerrit.libreoffice.org/25086 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'dbaccess')
-rw-r--r--dbaccess/source/ui/querydesign/QueryDesignView.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/dbaccess/source/ui/querydesign/QueryDesignView.cxx b/dbaccess/source/ui/querydesign/QueryDesignView.cxx
index 9a6484a30690..160dca9945f8 100644
--- a/dbaccess/source/ui/querydesign/QueryDesignView.cxx
+++ b/dbaccess/source/ui/querydesign/QueryDesignView.cxx
@@ -1296,7 +1296,7 @@ namespace
{
bool bRet = true;
::connectivity::OSQLParseNode* pFirstColumnRef = _pFirstColumnRef;
- for (size_t i = 0; bRet && i < _pCondition->count() && bRet; ++i)
+ for (size_t i = 0; bRet && i < _pCondition->count(); ++i)
{
const ::connectivity::OSQLParseNode* pChild = _pCondition->getChild(i);
if ( pChild->isToken() )