[Libreoffice-commits] core.git: vcl/source

Libreoffice Gerrit user logerrit at kemper.freedesktop.org
Sun Nov 11 10:16:16 UTC 2018


 vcl/source/filter/graphicfilter2.cxx |    1 -
 1 file changed, 1 deletion(-)

New commits:
commit 4d39ec07808276d7dbd2f92a08524f82ab5d715f
Author:     Zdibák Zoltán <zdibakzoltan at gmail.com>
AuthorDate: Sat Nov 10 19:29:57 2018 +0100
Commit:     Markus Mohrhard <markus.mohrhard at googlemail.com>
CommitDate: Sun Nov 11 11:15:55 2018 +0100

    cppCheck bRet reassigned before used
    
    Change-Id: Iaf27254896783deaeaee65bd51617d8e4e457873
    Reviewed-on: https://gerrit.libreoffice.org/63244
    Tested-by: Jenkins
    Reviewed-by: Markus Mohrhard <markus.mohrhard at googlemail.com>

diff --git a/vcl/source/filter/graphicfilter2.cxx b/vcl/source/filter/graphicfilter2.cxx
index 17b16f69abcb..9c7491ea5e4a 100644
--- a/vcl/source/filter/graphicfilter2.cxx
+++ b/vcl/source/filter/graphicfilter2.cxx
@@ -450,7 +450,6 @@ bool GraphicDescriptor::ImpDetectPCX( SvStream& rStm )
     if ( cByte == 0x0a )
     {
         nFormat = GraphicFileFormat::PCX;
-        bRet = true;
 
         sal_uInt16  nTemp16;
         sal_uInt16  nXmin;


More information about the Libreoffice-commits mailing list