package/source/zipapi/Deflater.cxx |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit a66a69795b6f98059feab22d3ee8afc1214bf57a
Author:     Bogdan Buzea <buzea.bog...@libreoffice.org>
AuthorDate: Tue Oct 22 06:08:47 2024 +0200
Commit:     Xisco Fauli <xiscofa...@libreoffice.org>
CommitDate: Tue Oct 22 11:59:59 2024 +0200

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

diff --git a/package/source/zipapi/Deflater.cxx 
b/package/source/zipapi/Deflater.cxx
index 9439e3f56bcb..c14765c00ec7 100644
--- a/package/source/zipapi/Deflater.cxx
+++ b/package/source/zipapi/Deflater.cxx
@@ -47,8 +47,6 @@ void Deflater::init (sal_Int32 nLevelArg, bool bNowrap)
         case Z_OK:
             break;
         case Z_MEM_ERROR:
-            pStream.reset();
-            break;
         case Z_STREAM_ERROR:
             pStream.reset();
             break;

Reply via email to