Explorar o código

* force result to be set

florian %!s(int64=3) %!d(string=hai) anos
pai
achega
802f24dfbd
Modificáronse 1 ficheiros con 1 adicións e 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 }