Browse Source

Avoid 'false' warning: Local variable "gap_index" does not seem to be initialized on cycle with -O3 option

Pierre Muller 1 year ago
parent
commit
529b64790b
1 changed files with 2 additions and 0 deletions
  1. 2 0
      compiler/assemble.pas

+ 2 - 0
compiler/assemble.pas

@@ -1148,6 +1148,8 @@ Implementation
       begin
 {$ifdef USE_SOFT_FLOATX80}
         has_gap:=false;
+        gap_index:=0;
+        gap_size:=0;
 {$endif USE_SOFT_FLOATX80}
         if do_line then
           begin