aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorace20022 <ace20022@ymail.com>2016-04-02 11:12:20 +0200
committerace20022 <ace20022@ymail.com>2016-04-05 20:31:58 +0200
commit3c6de520502cedc9f42567239e18db19b20cbe1d (patch)
treeb78047e0ba70a9c2c221ecdb8f05c0673053b834 /lib
parentce1df8d7cb612c40abe7ab5554aba3814531e31c (diff)
CID 77466: Logically dead code (DEADCODE).
Diffstat (limited to 'lib')
-rw-r--r--lib/libexif/JpegParse.cpp7
1 files changed, 0 insertions, 7 deletions
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);