1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-26 02:14:22 +00:00

Cranked up the Clang warning level in the projucer, and fixed a few minor warnings

This commit is contained in:
jules 2018-01-16 17:15:06 +00:00
parent 4746337ecc
commit 7d24b39f18
12 changed files with 38 additions and 42 deletions

View file

@ -71,7 +71,7 @@ static const char* const stateNames[] =
"common background"
};
int stateNameToIndex (const String& name)
static int stateNameToIndex (const String& name)
{
for (int i = 7; --i >= 0;)
if (name.equalsIgnoreCase (stateNames[i]))