basic/source/comp/exprtree.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 630dc472627e4bb56648b4c7326b7bfc8b4b5316
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Mon Mar 28 14:35:52 2022 +0200
Commit:     Stephan Bergmann <sberg...@redhat.com>
CommitDate: Mon Mar 28 17:50:39 2022 +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;

Reply via email to