浏览代码

Redundant test

Source commit: 0f4fe2de1dae9c95bdb113752068115c399a7456
Martin Prikryl 3 年之前
父节点
当前提交
a11d0a7530
共有 1 个文件被更改,包括 1 次插入2 次删除
  1. 1 2
      source/windows/Setup.cpp

+ 1 - 2
source/windows/Setup.cpp

@@ -1652,8 +1652,7 @@ bool __fastcall CheckForUpdates(bool CachedResults)
       Configuration->Usage->Inc(L"UpdateDisplaysNew");
     }
 
-    if (Updates.HaveResults &&
-        (double(Updates.Period) > 0) &&
+    if ((double(Updates.Period) > 0) &&
         // do not show next check time, if we have new version info
         !New)
     {