mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-09 14:48:28 +02:00
add comments to suppres -Wimplicit-fallthrough warnings
Origin commit data
------------------
Branch: ni/coolstream
Commit: 0ea72b9d51
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2017-09-25 (Mon, 25 Sep 2017)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
committed by
vanhofen
parent
d45976cebf
commit
a4040cbcb9
@@ -820,6 +820,7 @@ int CMenuWidget::exec(CMenuTarget* parent, const std::string &)
|
||||
switch ( rv ) {
|
||||
case menu_return::RETURN_EXIT_ALL:
|
||||
retval = menu_return::RETURN_EXIT_ALL;
|
||||
/* fall through */
|
||||
case menu_return::RETURN_EXIT:
|
||||
msg = CRCInput::RC_timeout;
|
||||
break;
|
||||
@@ -911,6 +912,7 @@ int CMenuWidget::exec(CMenuTarget* parent, const std::string &)
|
||||
break;
|
||||
case CRCInput::RC_up:
|
||||
dir = -1;
|
||||
/* fall through */
|
||||
default: /* fallthrough or RC_down => dir = 1 */
|
||||
pos += dir;
|
||||
if (pos < 0 || pos >= (int)items.size())
|
||||
@@ -979,6 +981,7 @@ int CMenuWidget::exec(CMenuTarget* parent, const std::string &)
|
||||
switch ( rv ) {
|
||||
case menu_return::RETURN_EXIT_ALL:
|
||||
retval = menu_return::RETURN_EXIT_ALL;
|
||||
/* fall through */
|
||||
case menu_return::RETURN_EXIT:
|
||||
msg = CRCInput::RC_timeout;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user