Forráskód Böngészése

* avoid compiler warning about uninitialized variable

git-svn-id: trunk@26441 -
florian 11 éve
szülő
commit
fe7238bdf1
1 módosított fájl, 2 hozzáadás és 0 törlés
  1. 2 0
      compiler/pmodules.pas

+ 2 - 0
compiler/pmodules.pas

@@ -1918,6 +1918,8 @@ type
          init_procinfo:=nil;
          finalize_procinfo:=nil;
          resources_used:=false;
+         { make the compiler happy and avoid an uninitialized variable warning on Setlength(sc,length(sc)+1); }
+         sc:=nil;
 
          { DLL defaults to create reloc info }
          if islibrary then