Skip to content

Commit

Permalink
Silence switch-enum warning for GetNextProgramDB() (clang++)
Browse files Browse the repository at this point in the history
  • Loading branch information
daniel-kristjansson committed Dec 15, 2012
1 parent ab302fc commit 021b2e5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mythtv/libs/libmythtv/tvbrowsehelper.cpp
Expand Up @@ -349,6 +349,7 @@ void TVBrowseHelper::GetNextProgramDB(
case BROWSE_UP: chandir = CHANNEL_DIRECTION_UP; break;
case BROWSE_DOWN: chandir = CHANNEL_DIRECTION_DOWN; break;
case BROWSE_FAVORITE: chandir = CHANNEL_DIRECTION_FAVORITE; break;
default: break; // quiet -Wswitch-enum
}
if (chandir != -1)
{
Expand Down

0 comments on commit 021b2e5

Please sign in to comment.