From a6c5251e7ef061fcb30d888be46bfaf6057c47df Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Mon, 11 Feb 2019 11:14:12 +0100 Subject: [PATCH] scan_setup.cpp: fix possible compiler warning enum constant in boolean context --- src/gui/scan_setup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gui/scan_setup.cpp b/src/gui/scan_setup.cpp index 4966f433f..ed59ae9d9 100644 --- a/src/gui/scan_setup.cpp +++ b/src/gui/scan_setup.cpp @@ -1950,7 +1950,7 @@ printf("[neutrino] CScanSetup::%s: logical numbers %d\n", __FUNCTION__, scansett if (fe_config.force_mode == 1) fe_config.powered = 0; tsp->setActive(fe_config.force_mode != 1); - ret = menu_return::RETURN_EXIT_REPAINT; + ret = true; } return ret; }