From 03237a0a5acbf560426f3d6bc17278b096e398d2 Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Mon, 11 Feb 2019 21:49:09 +0100 Subject: [PATCH] scan_setup.cpp: fix possible compiler warning enum constant in boolean context Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/39d7048d544d5fcf4f1e14be09de0c2cf5631211 Author: Thilo Graf Date: 2019-02-11 (Mon, 11 Feb 2019) ------------------ This commit was generated by Migit --- 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; }