sc/source/core/data/queryiter.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 17f2977cddfdcc7ecfb99616ab3aeb8b04c8f9a9
Author:     Bogdan Buzea <buzea.bog...@libreoffice.org>
AuthorDate: Fri Oct 18 22:40:00 2024 +0200
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Sun Oct 20 10:41:30 2024 +0200

    tdf#163486: PVS: The variable was assign the same value.
    
    V1048 The 'beforeColRow' variable was assigned the same value.
    
    Change-Id: I27ef13be81c9f94f452701fc1a47d6e908024a23
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175205
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>
    Tested-by: Jenkins

diff --git a/sc/source/core/data/queryiter.cxx 
b/sc/source/core/data/queryiter.cxx
index aa65424254a5..6ef734720575 100644
--- a/sc/source/core/data/queryiter.cxx
+++ b/sc/source/core/data/queryiter.cxx
@@ -316,7 +316,6 @@ void ScQueryCellIteratorBase< accessType, queryType 
>::InitPos()
             {
                 // BinarySearch() returns false in case it's all empty data,
                 // handle that specially.
-                beforeColRow = -1;
                 lastColRow = maParam.nRow2;
             }
             if (maParam.bByRow)

Reply via email to