Browse Source

* get rid os some warnings

Michael VAN CANNEYT 2 years ago
parent
commit
c0893e5c16
1 changed files with 2 additions and 1 deletions
  1. 2 1
      compiler/utils/fpc.pp

+ 2 - 1
compiler/utils/fpc.pp

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