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:
parent
aa99b2f0ae
commit
f57237df83
1 changed files with 8 additions and 11 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue