libobs/plugins/UI: Suppress -Wimplicit-fallthrough introduced by GCC 7

Signed-off-by: Shaolin <admshao@gmail.com>
This commit is contained in:
Shaolin
2017-05-29 21:05:18 -03:00
parent d4bd7ea052
commit cb9f767e45
5 changed files with 8 additions and 0 deletions

View File

@@ -48,6 +48,7 @@ int base64_encode_block(const char* plaintext_in, int length_in, char* code_out,
result = (fragment & 0x0fc) >> 2;
*codechar++ = base64_encode_value(result);
result = (fragment & 0x003) << 4;
/* Falls through. */
case step_B:
if (plainchar == plaintextend)
{
@@ -59,6 +60,7 @@ int base64_encode_block(const char* plaintext_in, int length_in, char* code_out,
result |= (fragment & 0x0f0) >> 4;
*codechar++ = base64_encode_value(result);
result = (fragment & 0x00f) << 2;
/* Falls through. */
case step_C:
if (plainchar == plaintextend)
{