Explorar el Código

Avoid warning about unintialized 'ba' variable

Pierre Muller hace 1 año
padre
commit
79ed0db624
Se han modificado 1 ficheros con 4 adiciones y 1 borrados
  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