mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-28 15:20:27 +02:00
* Remove unneeded raising of exception
git-svn-id: trunk@33472 -
This commit is contained in:
parent
65e901c844
commit
3b2770854a
@ -846,7 +846,7 @@ begin
|
||||
for r := 0 to 7 do
|
||||
begin
|
||||
If SigCheck[r] <> Signature[r] then
|
||||
raise PNGImageException.Create('This is not PNG-data');
|
||||
Exit(false);
|
||||
end;
|
||||
// Check IHDR
|
||||
ReadChunk;
|
||||
|
Loading…
Reference in New Issue
Block a user