浏览代码

* 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 }