소스 검색

* fix warnings in spilling_create_load and spilling_create_store

Nikolay Nikolov 2 달 전
부모
커밋
963cd66d4b
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  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 :