Selaa lähdekoodia

* fix warnings in spilling_create_load and spilling_create_store

Nikolay Nikolov 2 kuukautta sitten
vanhempi
sitoutus
963cd66d4b
1 muutettua tiedostoa jossa 2 lisäystä ja 0 poistoa
  1. 2 0
      compiler/mos6502/aasmcpu.pas

+ 2 - 0
compiler/mos6502/aasmcpu.pas

@@ -295,6 +295,7 @@ implementation
 
     function spilling_create_load(const ref:treference;r:tregister):Taicpu;
       begin
+        Result:=nil;
         internalerror(2024040603);
         //case getregtype(r) of
         //  R_INTREGISTER :
@@ -307,6 +308,7 @@ implementation
 
     function spilling_create_store(r:tregister; const ref:treference):Taicpu;
       begin
+        Result:=nil;
         internalerror(2024040604);
         //case getregtype(r) of
         //  R_INTREGISTER :