mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-29 23:00:13 +02:00
Fix uninitialized result for dwFlags
This commit is contained in:
parent
2e9ceda11b
commit
7a8fae6194
@ -51,7 +51,7 @@ end;
|
||||
Function GetStartupFlags (P : TProcess): Cardinal;
|
||||
|
||||
begin
|
||||
Result:=Result or Startf_UseStdHandles;
|
||||
Result:= Startf_UseStdHandles;
|
||||
if suoUseShowWindow in P.StartupOptions then
|
||||
Result:=Result or startf_USESHOWWINDOW;
|
||||
if suoUSESIZE in P.StartupOptions then
|
||||
|
Loading…
Reference in New Issue
Block a user