sw/source/core/doc/DocumentRedlineManager.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 005eda09ef25dd09c1f69c163041dbb40c02ce02
Author:     Bogdan Buzea <buzea.bog...@libreoffice.org>
AuthorDate: Fri Oct 18 22:22:47 2024 +0200
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Sun Oct 20 10:26:12 2024 +0200

    tdf#163486: PVS: The variable was assign the same value.
    
    V1048 The 'bDec' variable was assigned the same value. Lines 1787 and 1799.
    
    Change-Id: Ia2acce92ee597d9ca801785e8c512d7351ead669
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175160
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>
    Tested-by: Jenkins

diff --git a/sw/source/core/doc/DocumentRedlineManager.cxx 
b/sw/source/core/doc/DocumentRedlineManager.cxx
index d510491fb8f4..34d9067a7201 100644
--- a/sw/source/core/doc/DocumentRedlineManager.cxx
+++ b/sw/source/core/doc/DocumentRedlineManager.cxx
@@ -1796,7 +1796,6 @@ DocumentRedlineManager::AppendRedline(SwRangeRedline* 
pNewRedl, bool const bCall
                             // totally rotten so it does happen and we
                             // better fix it.
                             n = 0;
-                            bDec = true;
                         }
 
                         maRedlineTable.DeleteAndDestroy( nToBeDeleted );

Reply via email to