1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-10 23:44:24 +00:00

Fixed some warnings flagged up when enabling -Wswitch-enum, -Wswitch-default, -Wredundant-decls, and -Wimplicit-fallthrough

This commit is contained in:
ed 2020-03-09 17:18:33 +00:00
parent f9961e9938
commit 59a058fdc6
69 changed files with 518 additions and 409 deletions

View file

@ -616,8 +616,8 @@ struct CppTokeniserFunctions
charsOnLine += 2;
break;
}
// deliberate fall-through...
JUCE_FALLTHROUGH
default:
if (c >= 32 && c < 127 && ! (lastWasHexEscapeCode // (have to avoid following a hex escape sequence with a valid hex digit)