فهرست منبع

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)
     {