mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-22 22:01:44 +01:00
fix redundant searches in FindObjectFile, if the object was found on the first try
git-svn-id: trunk@24725 -
This commit is contained in:
parent
ed5891f146
commit
e7094cf1d6
@ -210,8 +210,8 @@ Implementation
|
||||
begin
|
||||
if FileExists(FixFileName(s),false) then
|
||||
begin
|
||||
foundfile:=ScriptFixFileName(s);
|
||||
found:=true;
|
||||
findobjectfile:=ScriptFixFileName(s);
|
||||
exit;
|
||||
end;
|
||||
end;
|
||||
if pos('.',s)=0 then
|
||||
|
||||
Loading…
Reference in New Issue
Block a user