From ecc94d6521995f4dcc7da2c6a4fd2cb9176918e2 Mon Sep 17 00:00:00 2001 From: Tsarevich Dmitry Date: Sun, 23 Feb 2020 20:43:10 +0300 Subject: [PATCH] [flow] Remove already true condition check --- src/stdlg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/stdlg.c b/src/stdlg.c index 32364410..ddc7d99d 100644 --- a/src/stdlg.c +++ b/src/stdlg.c @@ -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: