mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-02 18:30:33 +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
|
for r := 0 to 7 do
|
||||||
begin
|
begin
|
||||||
If SigCheck[r] <> Signature[r] then
|
If SigCheck[r] <> Signature[r] then
|
||||||
raise PNGImageException.Create('This is not PNG-data');
|
Exit(false);
|
||||||
end;
|
end;
|
||||||
// Check IHDR
|
// Check IHDR
|
||||||
ReadChunk;
|
ReadChunk;
|
||||||
|
Loading…
Reference in New Issue
Block a user