소스 검색

* force result to be set

florian 3 년 전
부모
커밋
802f24dfbd
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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 }