Browse Source

* fix warning

Nikolay Nikolov 11 months ago
parent
commit
7a1c50ff87
1 changed files with 2 additions and 1 deletions
  1. 2 1
      compiler/wasm32/hlcgcpu.pas

+ 2 - 1
compiler/wasm32/hlcgcpu.pas

@@ -1809,7 +1809,8 @@ implementation
 
   procedure thlcgwasm.a_op_reg_reg_reg_checkoverflow(list: TAsmList; op: TOpCg; size: tdef; src1, src2, dst: tregister; setflags: boolean; var ovloc: tlocation);
     var
-      orgsrc1, orgsrc2: tregister;
+      orgsrc1: tregister = NR_NO;
+      orgsrc2: tregister = NR_NO;
       docheck: boolean;
       lab: tasmlabel;
     begin