mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 15:02:43 +02:00
libstb_hal: Suppress implicit-fallthrough warnings from GCC 7
Origin commit data
------------------
Branch: master
Commit: 66f36919a2
Author: GetAway <get-away@t-online.de>
Date: 2019-06-14 (Fri, 14 Jun 2019)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -555,8 +555,10 @@ void hdmi_cec::Receive()
|
||||
break;
|
||||
}
|
||||
case CEC_OPCODE_USER_CONTROL_PRESSED: /* key pressed */
|
||||
{
|
||||
keypressed = true;
|
||||
pressedkey = rxmessage.data[1];
|
||||
} // fall through
|
||||
case CEC_OPCODE_USER_CONTROL_RELEASE: /* key released */
|
||||
{
|
||||
long code = translateKey(pressedkey);
|
||||
|
@@ -85,6 +85,7 @@ int eDVBCICAManagerSession::doAction()
|
||||
}
|
||||
case stateFinal:
|
||||
printf("[CI CA] stateFinal and action should not happen\n");
|
||||
// fall through
|
||||
default:
|
||||
return 0;
|
||||
}
|
||||
|
@@ -1339,6 +1339,7 @@ int eDVBCIContentControlManagerSession::doAction()
|
||||
}
|
||||
case stateFinal:
|
||||
printf("stateFinal und action! kann doch garnicht sein ;)\n");
|
||||
// fall through
|
||||
default:
|
||||
return 0;
|
||||
}
|
||||
|
@@ -52,6 +52,7 @@ int eDVBCIDateTimeSession::doAction()
|
||||
return 0;
|
||||
case stateFinal:
|
||||
printf("stateFinal und action! kann doch garnicht sein ;)\n");
|
||||
// fall through
|
||||
default:
|
||||
return 0;
|
||||
}
|
||||
|
@@ -179,11 +179,12 @@ eDVBCISession* eDVBCISession::createSession(eDVBCISlot *slot, const unsigned cha
|
||||
printf("[CI SESS] CC MANAGER\n");
|
||||
sessions[session_nb - 1] = new eDVBCIContentControlManagerSession(slot);
|
||||
break;
|
||||
}
|
||||
} // fall through
|
||||
case 0x00100041:
|
||||
// session=new eDVBCIAuthSession;
|
||||
printf("[CI SESS] AuthSession\n");
|
||||
// break;
|
||||
// fall through
|
||||
case 0x00200041:
|
||||
default:
|
||||
printf("[CI SESS] unknown resource type %02x %02x %02x %02x\n", resource_identifier[0], resource_identifier[1], resource_identifier[2], resource_identifier[3]);
|
||||
|
@@ -137,6 +137,7 @@ static int writeData(WriterAVCallData_t *call)
|
||||
case AV_CODEC_ID_PCM_S16LE:
|
||||
case AV_CODEC_ID_PCM_U16LE:
|
||||
LE = 1;
|
||||
// fall through
|
||||
case AV_CODEC_ID_PCM_S16BE:
|
||||
case AV_CODEC_ID_PCM_U16BE:
|
||||
width = depth = 16;
|
||||
@@ -144,6 +145,7 @@ static int writeData(WriterAVCallData_t *call)
|
||||
case AV_CODEC_ID_PCM_S24LE:
|
||||
case AV_CODEC_ID_PCM_U24LE:
|
||||
LE = 1;
|
||||
// fall through
|
||||
case AV_CODEC_ID_PCM_S24BE:
|
||||
case AV_CODEC_ID_PCM_U24BE:
|
||||
width = depth = 24;
|
||||
@@ -151,6 +153,7 @@ static int writeData(WriterAVCallData_t *call)
|
||||
case AV_CODEC_ID_PCM_S32LE:
|
||||
case AV_CODEC_ID_PCM_U32LE:
|
||||
LE = 1;
|
||||
// fall through
|
||||
case AV_CODEC_ID_PCM_S32BE:
|
||||
case AV_CODEC_ID_PCM_U32BE:
|
||||
width = depth = 32;
|
||||
|
Reference in New Issue
Block a user