diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2015-10-08 16:38:21 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2015-10-09 09:23:58 +0200 |
commit | 8caf23a7f297bd18dc833146923432fab416b387 (patch) | |
tree | 9d461fcce904d4c8d7ec10038600d00e84f07b4c /vcl/source/filter/graphicfilter.cxx | |
parent | cb680992d256e01494956b25f3f3517f63c2e558 (diff) |
clang-analyzer-deadcode.DeadStores
Change-Id: Ic2d49519475db8292fecf18eb5c90a74ace8dfe7
Diffstat (limited to 'vcl/source/filter/graphicfilter.cxx')
-rw-r--r-- | vcl/source/filter/graphicfilter.cxx | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/vcl/source/filter/graphicfilter.cxx b/vcl/source/filter/graphicfilter.cxx index f9b86cd211f5..e54a1714b6b8 100644 --- a/vcl/source/filter/graphicfilter.cxx +++ b/vcl/source/filter/graphicfilter.cxx @@ -614,7 +614,6 @@ static bool ImpPeekGraphicFormat( SvStream& rStream, OUString& rFormatExtension, } else if( rFormatExtension.startsWith( "XPM" ) ) { - bSomethingTested = true; return true; } @@ -639,7 +638,6 @@ static bool ImpPeekGraphicFormat( SvStream& rStream, OUString& rFormatExtension, } else if( rFormatExtension.startsWith( "XBM" ) ) { - bSomethingTested = true; return true; } @@ -725,7 +723,6 @@ static bool ImpPeekGraphicFormat( SvStream& rStream, OUString& rFormatExtension, } else if( rFormatExtension.startsWith( "SVG" ) ) { - bSomethingTested = true; return true; } @@ -767,7 +764,6 @@ static bool ImpPeekGraphicFormat( SvStream& rStream, OUString& rFormatExtension, (sFirstBytes[ 4 ] == 'm' && sFirstBytes[ 5 ] == 'o' && sFirstBytes[ 6 ] == 'o' && sFirstBytes[ 7 ] == 'v' && sFirstBytes[ 11 ] == 'l' && sFirstBytes[ 12 ] == 'm')) { - bSomethingTested=true; rFormatExtension = "MOV"; return true; } |