diff options
author | ace20022 <ace20022@ymail.com> | 2016-04-02 11:12:20 +0200 |
---|---|---|
committer | ace20022 <ace20022@ymail.com> | 2016-04-05 20:31:58 +0200 |
commit | 3c6de520502cedc9f42567239e18db19b20cbe1d (patch) | |
tree | b78047e0ba70a9c2c221ecdb8f05c0673053b834 /lib | |
parent | ce1df8d7cb612c40abe7ab5554aba3814531e31c (diff) |
CID 77466: Logically dead code (DEADCODE).
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libexif/JpegParse.cpp | 7 |
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); |