Browse Source

* Fix warning

Michael Van Canneyt 4 months ago
parent
commit
6f5aefabc1
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/rtl/src/webassembly.pas

+ 1 - 0
packages/rtl/src/webassembly.pas

@@ -141,6 +141,7 @@ implementation
 
 function TJSWebAssemblyMemoryHelper.IsSharedBuffer: Boolean;
 begin
+  Result:=False;
   asm
   return ((!(buffer === null)) && (typeof this.FBuffer === 'object'))
           && (this.FBuffer instanceof SharedArrayBuffer);