1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-01-18 00:54:19 +00:00

Increased the warning level in a couple of OSX builds, and removed some pedantic warnings in the introjucer.

This commit is contained in:
jules 2012-12-27 19:56:18 +00:00
parent 784c1f5dae
commit 234525aef9
30 changed files with 88 additions and 76 deletions

View file

@ -313,7 +313,7 @@ void ModuleList::getDependencies (const String& moduleID, StringArray& dependenc
}
}
void ModuleList::createDependencies (const String& moduleID, OwnedArray<LibraryModule>& modules) const
void ModuleList::createDependencies (const String& moduleID, OwnedArray<LibraryModule>&) const
{
ScopedPointer<LibraryModule> m (loadModule (moduleID));
@ -592,10 +592,10 @@ static bool exporterTargetMatches (const String& test, String target)
for (int i = validTargets.size(); --i >= 0;)
{
const String& target = validTargets[i];
const String& targetName = validTargets[i];
if (target == test
|| (target.startsWithChar ('!') && test != target.substring (1).trimStart()))
if (targetName == test
|| (targetName.startsWithChar ('!') && test != targetName.substring (1).trimStart()))
return true;
}