mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 13:49:39 +02:00
Remove wrong close call after failed Reset
git-svn-id: trunk@29200 -
This commit is contained in:
parent
6c6616ed14
commit
606b0a99c7
@ -421,10 +421,7 @@ unit charset;
|
||||
Assign(f,filename);
|
||||
Reset(f);
|
||||
if (IOResult<>0) then
|
||||
begin
|
||||
Close(f);
|
||||
exit;
|
||||
end;
|
||||
locSize:=FileSize(f);
|
||||
if (locSize<SizeOf(TSerializedMapHeader)) then
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user