Parcourir la source

- removed "const" from first parameter of check_configfile(), because that
routine is called with the same variable passed as the first and second
parameter, so the first one is not constand (since the second one is a
"var" para) -- this caused errors when compiling the compiler with -gt

git-svn-id: trunk@33202 -

Jonas Maebe il y a 9 ans
Parent
commit
741c91275a
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      compiler/options.pas

+ 1 - 1
compiler/options.pas

@@ -3147,7 +3147,7 @@ end;
                               Callable Routines
 ****************************************************************************}
 
-function check_configfile(const fn:string;var foundfn:string):boolean;
+function check_configfile(fn:string; var foundfn:string):boolean;
 
   function CfgFileExists(const fn:string):boolean;
   begin