From 3c6de520502cedc9f42567239e18db19b20cbe1d Mon Sep 17 00:00:00 2001 From: ace20022 Date: Sat, 2 Apr 2016 11:12:20 +0200 Subject: CID 77466: Logically dead code (DEADCODE). --- lib/libexif/JpegParse.cpp | 7 ------- 1 file changed, 7 deletions(-) (limited to 'lib') diff --git a/lib/libexif/JpegParse.cpp b/lib/libexif/JpegParse.cpp index 2602a7b12a..446ff1b0f0 100644 --- a/lib/libexif/JpegParse.cpp +++ b/lib/libexif/JpegParse.cpp @@ -173,13 +173,6 @@ bool CJpegParse::ExtractInfo (FILE *infile) marker = 0; } - if (marker == 0xff) - { - // 0xff is legal padding, but if we get that many, something's wrong. - printf("JpgParse: too many padding bytes"); - return false; - } - // Read the length of the section. unsigned short itemlen = 0; bytesRead = fread(&itemlen, 1, sizeof(itemlen), infile); -- cgit v1.2.3