unotools/source/ucbhelper/ucblockbytes.cxx |    5 -----
 1 file changed, 5 deletions(-)

New commits:
commit 34e27e2cb8c2fd487a160bb57d27db9dae8ebf05
Author:     Bogdan Buzea <buzea.bog...@libreoffice.org>
AuthorDate: Mon Oct 21 11:28:31 2024 +0200
Commit:     David Gilbert <freedesk...@treblig.org>
CommitDate: Fri Nov 1 01:56:43 2024 +0100

    tdf#163486: PVS: Identical branches
    
    V1037 Two or more case-branches perform the same actions. Check lines: 780, 
786
    
    Change-Id: I9152c711ab25f0e4cc60ce67c2ad1089cca6992e
    Reviewed-on: https://gerrit.libreoffice.org/c/core/+/175306
    Tested-by: Jenkins
    Reviewed-by: David Gilbert <freedesk...@treblig.org>

diff --git a/unotools/source/ucbhelper/ucblockbytes.cxx 
b/unotools/source/ucbhelper/ucblockbytes.cxx
index 08fe40b7c257..6403204bc595 100644
--- a/unotools/source/ucbhelper/ucblockbytes.cxx
+++ b/unotools/source/ucbhelper/ucblockbytes.cxx
@@ -776,11 +776,6 @@ static bool UCBOpenContentSync(
                 break;
             }
         case Moderator::ResultType::COMMANDABORTED:
-            {
-                bAborted = true;
-                xLockBytes->SetError( ERRCODE_ABORT );
-                break;
-            }
         case Moderator::ResultType::COMMANDFAILED:
             {
                 bAborted = true;

Reply via email to