mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 15:02:58 +02:00
libstb_hal: Suppress implicit-fallthrough warnings from GCC 7
This commit is contained in:
@@ -555,8 +555,10 @@ void hdmi_cec::Receive()
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case CEC_OPCODE_USER_CONTROL_PRESSED: /* key pressed */
|
case CEC_OPCODE_USER_CONTROL_PRESSED: /* key pressed */
|
||||||
|
{
|
||||||
keypressed = true;
|
keypressed = true;
|
||||||
pressedkey = rxmessage.data[1];
|
pressedkey = rxmessage.data[1];
|
||||||
|
} // fall through
|
||||||
case CEC_OPCODE_USER_CONTROL_RELEASE: /* key released */
|
case CEC_OPCODE_USER_CONTROL_RELEASE: /* key released */
|
||||||
{
|
{
|
||||||
long code = translateKey(pressedkey);
|
long code = translateKey(pressedkey);
|
||||||
|
@@ -85,6 +85,7 @@ int eDVBCICAManagerSession::doAction()
|
|||||||
}
|
}
|
||||||
case stateFinal:
|
case stateFinal:
|
||||||
printf("[CI CA] stateFinal and action should not happen\n");
|
printf("[CI CA] stateFinal and action should not happen\n");
|
||||||
|
// fall through
|
||||||
default:
|
default:
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@@ -1339,6 +1339,7 @@ int eDVBCIContentControlManagerSession::doAction()
|
|||||||
}
|
}
|
||||||
case stateFinal:
|
case stateFinal:
|
||||||
printf("stateFinal und action! kann doch garnicht sein ;)\n");
|
printf("stateFinal und action! kann doch garnicht sein ;)\n");
|
||||||
|
// fall through
|
||||||
default:
|
default:
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@@ -52,6 +52,7 @@ int eDVBCIDateTimeSession::doAction()
|
|||||||
return 0;
|
return 0;
|
||||||
case stateFinal:
|
case stateFinal:
|
||||||
printf("stateFinal und action! kann doch garnicht sein ;)\n");
|
printf("stateFinal und action! kann doch garnicht sein ;)\n");
|
||||||
|
// fall through
|
||||||
default:
|
default:
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@@ -179,11 +179,12 @@ eDVBCISession* eDVBCISession::createSession(eDVBCISlot *slot, const unsigned cha
|
|||||||
printf("[CI SESS] CC MANAGER\n");
|
printf("[CI SESS] CC MANAGER\n");
|
||||||
sessions[session_nb - 1] = new eDVBCIContentControlManagerSession(slot);
|
sessions[session_nb - 1] = new eDVBCIContentControlManagerSession(slot);
|
||||||
break;
|
break;
|
||||||
}
|
} // fall through
|
||||||
case 0x00100041:
|
case 0x00100041:
|
||||||
// session=new eDVBCIAuthSession;
|
// session=new eDVBCIAuthSession;
|
||||||
printf("[CI SESS] AuthSession\n");
|
printf("[CI SESS] AuthSession\n");
|
||||||
// break;
|
// break;
|
||||||
|
// fall through
|
||||||
case 0x00200041:
|
case 0x00200041:
|
||||||
default:
|
default:
|
||||||
printf("[CI SESS] unknown resource type %02x %02x %02x %02x\n", resource_identifier[0], resource_identifier[1], resource_identifier[2], resource_identifier[3]);
|
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_S16LE:
|
||||||
case AV_CODEC_ID_PCM_U16LE:
|
case AV_CODEC_ID_PCM_U16LE:
|
||||||
LE = 1;
|
LE = 1;
|
||||||
|
// fall through
|
||||||
case AV_CODEC_ID_PCM_S16BE:
|
case AV_CODEC_ID_PCM_S16BE:
|
||||||
case AV_CODEC_ID_PCM_U16BE:
|
case AV_CODEC_ID_PCM_U16BE:
|
||||||
width = depth = 16;
|
width = depth = 16;
|
||||||
@@ -144,6 +145,7 @@ static int writeData(WriterAVCallData_t *call)
|
|||||||
case AV_CODEC_ID_PCM_S24LE:
|
case AV_CODEC_ID_PCM_S24LE:
|
||||||
case AV_CODEC_ID_PCM_U24LE:
|
case AV_CODEC_ID_PCM_U24LE:
|
||||||
LE = 1;
|
LE = 1;
|
||||||
|
// fall through
|
||||||
case AV_CODEC_ID_PCM_S24BE:
|
case AV_CODEC_ID_PCM_S24BE:
|
||||||
case AV_CODEC_ID_PCM_U24BE:
|
case AV_CODEC_ID_PCM_U24BE:
|
||||||
width = depth = 24;
|
width = depth = 24;
|
||||||
@@ -151,6 +153,7 @@ static int writeData(WriterAVCallData_t *call)
|
|||||||
case AV_CODEC_ID_PCM_S32LE:
|
case AV_CODEC_ID_PCM_S32LE:
|
||||||
case AV_CODEC_ID_PCM_U32LE:
|
case AV_CODEC_ID_PCM_U32LE:
|
||||||
LE = 1;
|
LE = 1;
|
||||||
|
// fall through
|
||||||
case AV_CODEC_ID_PCM_S32BE:
|
case AV_CODEC_ID_PCM_S32BE:
|
||||||
case AV_CODEC_ID_PCM_U32BE:
|
case AV_CODEC_ID_PCM_U32BE:
|
||||||
width = depth = 32;
|
width = depth = 32;
|
||||||
|
Reference in New Issue
Block a user