Procházet zdrojové kódy

Avoid warning about unintialized 'ba' variable

Pierre Muller před 1 rokem
rodič
revize
79ed0db624
1 změnil soubory, kde provedl 4 přidání a 1 odebrání
  1. 4 1
      compiler/ogelf.pas

+ 4 - 1
compiler/ogelf.pas

@@ -713,7 +713,10 @@ implementation
                       ba.q:=swapendian(ba.q);
                     end;
               else
-                internalerror(2024012501);
+                begin
+                  internalerror(2024012501);
+		  ba.q:=0;
+		end;
               end;
             CurrObjSec.write(ba,len);
           end