diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2022-03-28 14:35:52 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2022-03-28 17:50:39 +0200 |
commit | 630dc472627e4bb56648b4c7326b7bfc8b4b5316 (patch) | |
tree | cc082ebf493445c1f49cfcc481f7166a57b32039 /basic/source/comp | |
parent | eda1a7aeff42c08e02295e5a8353a6d86a61a118 (diff) |
-Werror,-Wunused-but-set-variable
...since 8e73111faeb9620117801fee89a838a407f0b7e5 "CWS-TOOLING: integrate CWS
ab72"
Change-Id: Ib2fdccc36090d366ca2288b31bd1948832366c95
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132210
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
Diffstat (limited to 'basic/source/comp')
-rw-r--r-- | basic/source/comp/exprtree.cxx | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/basic/source/comp/exprtree.cxx b/basic/source/comp/exprtree.cxx index 6b101ce81ca6..989f1c6330c5 100644 --- a/basic/source/comp/exprtree.cxx +++ b/basic/source/comp/exprtree.cxx @@ -719,7 +719,6 @@ std::unique_ptr<SbiExprNode> SbiExpression::Comp() std::unique_ptr<SbiExprNode> pNd = Cat(); if( m_eMode != EXPRMODE_EMPTY_PAREN ) { - short nCount = 0; for( ;; ) { SbiToken eTok = pParser->Peek(); @@ -734,7 +733,6 @@ std::unique_ptr<SbiExprNode> SbiExpression::Comp() } eTok = pParser->Next(); pNd = std::make_unique<SbiExprNode>( std::move(pNd), eTok, Cat() ); - nCount++; } } return pNd; |