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

Projucer: Fixed an unreachable code warning

This commit is contained in:
ed 2018-10-23 09:30:07 +01:00
parent 1a25a0615c
commit aa99b2f0ae

View file

@ -738,16 +738,19 @@ static File getPlatformSpecificProjectFolder()
if (! buildsFolder.exists())
return {};
String subDirectoryString;
#if JUCE_MAC
return buildsFolder.getChildFile ("MacOSX");
subDirectoryString = "MacOSX";
#elif JUCE_WINDOWS
return buildsFolder.getChildFile ("VisualStudio2017");
subDirectoryString = "VisualStudio2017";
#elif JUCE_LINUX
return buildsFolder.getChildFile ("LinuxMakefile");
subDirectoryString = "LinuxMakefile";
#endif
jassertfalse;
return {};
jassert (subDirectoryString != String());
return buildsFolder.getChildFile (subDirectoryString);
}
static File tryToFindDemoRunnerExecutableInBuilds()