From f163ebca6e34e418978e30a83989d001186eff53 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 17 Nov 2023 13:38:43 +0300 Subject: code cleaning --- protocols/CurrencyRates/src/SettingsDlg.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'protocols/CurrencyRates/src/SettingsDlg.cpp') diff --git a/protocols/CurrencyRates/src/SettingsDlg.cpp b/protocols/CurrencyRates/src/SettingsDlg.cpp index e22a12c3a5..134d504553 100644 --- a/protocols/CurrencyRates/src/SettingsDlg.cpp +++ b/protocols/CurrencyRates/src/SettingsDlg.cpp @@ -146,10 +146,9 @@ INT_PTR CALLBACK EditPopupSettingsDlgProc(HWND hWnd, UINT msg, WPARAM wp, LPARAM n = IDC_DELAYCUSTOM; break; case CPopupSettings::delayPermanent: + default: n = IDC_DELAYPERMANENT; break; - default: - assert(!"Unknown delay mode. Please, fix it"); } ::CheckRadioButton(hWnd, IDC_DELAYFROMPU, IDC_DELAYPERMANENT, n); -- cgit v1.2.3