mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-10 10:28:54 +02:00
* minor optimization (don't clear the result of GetDynLibsErrorStr twice)
git-svn-id: trunk@28948 -
This commit is contained in:
parent
8cd2b615ce
commit
6c17c9cb29
@ -113,8 +113,9 @@ var
|
||||
RetMsgSize: cardinal;
|
||||
RC: cardinal;
|
||||
begin
|
||||
GetDynLibsErrorStr := '';
|
||||
if DynLibErrNo <> 0 then
|
||||
if DynLibErrNo = 0 then
|
||||
GetDynLibsErrorStr := ''
|
||||
else
|
||||
begin
|
||||
Result := '';
|
||||
VarArr [1] := @DynLibErrPath [0];
|
||||
|
Loading…
Reference in New Issue
Block a user