Explorar el Código

* force result to be set

florian hace 3 años
padre
commit
802f24dfbd
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      compiler/options.pas

+ 1 - 0
compiler/options.pas

@@ -1177,6 +1177,7 @@ function TOption.ParseVersionStr(out ver: longint;
     compvarvalue: string[15];
     i: longint;
   begin
+    Result:=false;
     IdfVersionSet:=false;
     emptystr:='';
     { check whether the value is a valid version number }