connectivity/source/drivers/file/FResultSet.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 9250f27dadfc2d73e2f3600052a783a0e82f370d
Author:     Xisco Fauli <xiscofa...@libreoffice.org>
AuthorDate: Thu Oct 17 15:25:53 2024 +0200
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Thu Oct 17 21:01:20 2024 +0200

    tdf#163486: PVS: Identical branches
    
    V1037: Two or more case-branches perform the same actions. Check lines: 
996, 999
    Change-Id: Idfec4df06a578c63e52ef053b73dfa2d55b5cbf3
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175089
    Reviewed-by: Xisco Fauli <xiscofa...@libreoffice.org>
    Tested-by: Jenkins

diff --git a/connectivity/source/drivers/file/FResultSet.cxx 
b/connectivity/source/drivers/file/FResultSet.cxx
index 60fd9b6d4df2..bb9d8a94b725 100644
--- a/connectivity/source/drivers/file/FResultSet.cxx
+++ b/connectivity/source/drivers/file/FResultSet.cxx
@@ -993,8 +993,6 @@ bool OResultSet::Move(IResultSetHelper::Movement 
eCursorPosition, sal_Int32 nOff
                 --m_nRowPos;
                 break;
             case IResultSetHelper::FIRST:
-                m_nRowPos = 0;
-                break;
             case IResultSetHelper::LAST:
                 m_nRowPos = 0;
                 break;

Reply via email to