1
1
Fork 0
mirror of https://github.com/pbatard/rufus.git synced 2024-08-14 23:57:05 +00:00

[flow] Remove already true condition check

This commit is contained in:
Tsarevich Dmitry 2020-02-23 20:43:10 +03:00
parent 20c2d9624d
commit ecc94d6521
No known key found for this signature in database
GPG key ID: E3C61298FF5B1274

View file

@ -1538,8 +1538,8 @@ BOOL SetUpdateCheck(void)
return FALSE;
}
// If the user hasn't set the interval in the dialog, set to default
if ( (ReadSetting32(SETTING_UPDATE_INTERVAL) == 0) ||
((ReadSetting32(SETTING_UPDATE_INTERVAL) == -1) && enable_updates) )
if ((ReadSetting32(SETTING_UPDATE_INTERVAL) == 0) ||
(ReadSetting32(SETTING_UPDATE_INTERVAL) == -1))
WriteSetting32(SETTING_UPDATE_INTERVAL, 86400);
}
// Also detect if we can use Fido, which depends on: