mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 15:32:59 +02:00
scan_setup.cpp: fix possible compiler warning
enum constant in boolean context
This commit is contained in:
@@ -1950,7 +1950,7 @@ printf("[neutrino] CScanSetup::%s: logical numbers %d\n", __FUNCTION__, scansett
|
|||||||
if (fe_config.force_mode == 1)
|
if (fe_config.force_mode == 1)
|
||||||
fe_config.powered = 0;
|
fe_config.powered = 0;
|
||||||
tsp->setActive(fe_config.force_mode != 1);
|
tsp->setActive(fe_config.force_mode != 1);
|
||||||
ret = menu_return::RETURN_EXIT_REPAINT;
|
ret = true;
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user