dbaccess/source/ui/uno/copytablewizard.cxx |    3 ---
 1 file changed, 3 deletions(-)

New commits:
commit 573b3fe4c31a48d80f8373af055cfa3407a4b177
Author:     Stephan Bergmann <sberg...@redhat.com>
AuthorDate: Mon Mar 28 17:02:34 2022 +0200
Commit:     Andras Timar <andras.ti...@collabora.com>
CommitDate: Fri Jul 7 11:30:47 2023 +0200

    -Werror,-Wunused-but-set-variable
    
    ...since 376cc3ea0fc2e0f209763a2a27c5852136332c86 "dbaccess: delete old 
paste
    autoincrement logic"
    
    Change-Id: I4ffa3ffbcc1b80091a4a3449362766334b31c5af
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/132229
    Tested-by: Jenkins
    Reviewed-by: Stephan Bergmann <sberg...@redhat.com>

diff --git a/dbaccess/source/ui/uno/copytablewizard.cxx 
b/dbaccess/source/ui/uno/copytablewizard.cxx
index 9ebd7d6df288..a79a3c4007e3 100644
--- a/dbaccess/source/ui/uno/copytablewizard.cxx
+++ b/dbaccess/source/ui/uno/copytablewizard.cxx
@@ -1099,7 +1099,6 @@ void CopyTableWizard::impl_copyRows_throw( const 
Reference< XResultSet >& _rxSou
     const Any* pSelectedRow         = m_aSourceSelection.getConstArray();
     const Any* pSelEnd              = pSelectedRow + 
m_aSourceSelection.getLength();
 
-    sal_Int32 nRowCount = 0;
     bool bContinue = false;
 
     CopyTableRowEvent aCopyEvent;
@@ -1134,8 +1133,6 @@ void CopyTableWizard::impl_copyRows_throw( const 
Reference< XResultSet >& _rxSou
             break;
         }
 
-        ++nRowCount;
-
         aCopyEvent.Error.clear();
         try
         {

Reply via email to