basic/source/comp/exprtree.cxx | 2 -- 1 file changed, 2 deletions(-) New commits: commit 076bdae84aa8d97a169b369bd5f88d70c458e789 Author: Stephan Bergmann <sberg...@redhat.com> AuthorDate: Mon Mar 28 14:35:52 2022 +0200 Commit: Andras Timar <andras.ti...@collabora.com> CommitDate: Fri Jul 7 10:36:19 2023 +0200
-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 <sberg...@redhat.com> 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;