Browse Source

* get rid os some warnings

Michael VAN CANNEYT 2 năm trước cách đây
mục cha
commit
2db050912f
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      compiler/utils/fpc.pp

+ 2 - 1
compiler/utils/fpc.pp

@@ -80,7 +80,7 @@ program fpc;
     end;
   end;
 
-  procedure InitPlatform(var ppcbin,processorname : string);
+  procedure InitPlatform(out ppcbin,processorname : string);
 
   begin
     {$ifdef i386}
@@ -268,6 +268,7 @@ program fpc;
      end;
 
   begin
+     ppccommandline:=[];
      setlength(ppccommandline,paramcount);
      ppccommandlinelen:=0;
      cpusuffix     :='';        // if not empty, signals attempt at cross