Forráskód Böngészése

* Fix hints and warnings

Michael Van Canneyt 7 hónapja
szülő
commit
665d91db48

+ 1 - 1
packages/wasm-oi/src/debug.objectinspector.wasm.pas

@@ -21,7 +21,7 @@ unit debug.objectinspector.wasm;
 interface
 
 uses
-  Classes, SysUtils, js, typinfo, debug.objectinspector.html, wasm.debuginspector.shared, wasienv;
+  SysUtils, js, typinfo, debug.objectinspector.html, wasm.debuginspector.shared, wasienv;
 
 
 type

+ 0 - 4
packages/wasm-oi/src/wasm.debuginspector.shared.pas

@@ -19,10 +19,6 @@ unit wasm.debuginspector.shared;
 
 interface
 
-{$IFDEF PAS2JS}
-uses typinfo, rtti;
-{$ENDIF}
-
 Const
   // API return values
   WASMOI_SUCCESS         = 0;

+ 1 - 2
packages/wasm-utils/src/wasm.pas2js.regexp.pas

@@ -20,7 +20,7 @@ unit wasm.pas2js.regexp;
 interface
 
 uses
-  sysutils, js, wasienv, weborworker, wasm.regexp.shared, types;
+  sysutils, js, wasienv, wasm.regexp.shared, types;
 
 Type
   PByte = TWasmPointer;
@@ -57,7 +57,6 @@ Type
 
   TWasmRegExpAPI = class(TImportExtension)
   Private
-    FLogAPICalls: Boolean;
     FNextID : TWasmRegexpID;
     FRegExps : TJSObject;
     function GetLogAPICalls: Boolean;