mirror of
https://gitlab.com/freepascal.org/fpc/pas2js.git
synced 2025-09-15 16:19:10 +02:00
* Solve some compiler hints
This commit is contained in:
parent
846e1807c5
commit
4f4146687e
@ -412,9 +412,6 @@ end;
|
||||
|
||||
constructor TThreadController.Create(aWorkerScript: String; aSpawnWorkerCount: integer);
|
||||
|
||||
Var
|
||||
I : Integer;
|
||||
|
||||
begin
|
||||
Inherited Create;
|
||||
InitMessageCallBacks;
|
||||
@ -543,6 +540,8 @@ begin
|
||||
aWorker.WorkerState:=twsReady;
|
||||
if Assigned(WasmMemory) and Assigned(WasmModule) then
|
||||
SendLoadCommand(aWorker);
|
||||
if (aCommand=Nil) then ; // Silence compiler warning
|
||||
|
||||
end;
|
||||
|
||||
procedure TThreadController.HandleCleanupCommand(aWorker : TWasmThread; aCommand: TWorkerCleanupCommand);
|
||||
|
Loading…
Reference in New Issue
Block a user