* Fix compiler warnings/hints

This commit is contained in:
Michael Van Canneyt 2025-01-23 11:36:29 +01:00
parent 11092a2fd4
commit 73ac60a015

View File

@ -217,6 +217,7 @@ begin
on E : TJSObject do on E : TJSObject do
Result:=ExceptToError(E); Result:=ExceptToError(E);
end; end;
if Flags=[] then;
end; end;
function TWASIZenFS.LinkAt(OldFD: Integer; OldPath: String; NewFD: Integer; function TWASIZenFS.LinkAt(OldFD: Integer; OldPath: String; NewFD: Integer;
@ -481,7 +482,7 @@ var
end; end;
begin begin
if (fdFlags<>0) and (fsFlags<>0) then ; if (fdFlags<>0) and (fsFlags<>0) and (fsRightsInheriting<>0) then ;
lPath:=PrependFD(FD,aPath); lPath:=PrependFD(FD,aPath);
if Not HasFlag(__WASI_OFLAGS_DIRECTORY) then if Not HasFlag(__WASI_OFLAGS_DIRECTORY) then
begin begin