mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-18 03:29:33 +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;
|
RetMsgSize: cardinal;
|
||||||
RC: cardinal;
|
RC: cardinal;
|
||||||
begin
|
begin
|
||||||
GetDynLibsErrorStr := '';
|
if DynLibErrNo = 0 then
|
||||||
if DynLibErrNo <> 0 then
|
GetDynLibsErrorStr := ''
|
||||||
|
else
|
||||||
begin
|
begin
|
||||||
Result := '';
|
Result := '';
|
||||||
VarArr [1] := @DynLibErrPath [0];
|
VarArr [1] := @DynLibErrPath [0];
|
||||||
|
Loading…
Reference in New Issue
Block a user