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

Projucer: Fixed another unreachable code warning

This commit is contained in:
ed 2018-10-23 09:43:59 +01:00
parent aa99b2f0ae
commit f57237df83

View file

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