Browse Source

* attempt to avoid warning, treated as error, causing CI failure

Nikolay Nikolov 1 year ago
parent
commit
b641687da2
1 changed files with 1 additions and 0 deletions
  1. 1 0
      compiler/ogwasm.pas

+ 1 - 0
compiler/ogwasm.pas

@@ -3032,6 +3032,7 @@ implementation
         InputFileName:=AReader.FileName;
         objdata:=CObjData.Create(InputFileName);
         result:=false;
+        DataSegments:=nil;
         if not AReader.read(ModuleMagic,4) then
           exit;
         for i:=0 to 3 do