Browse Source

Projucer: Fixed another unreachable code warning

tags/2021-05-28
ed 7 years ago
parent
commit
f57237df83
1 changed files with 8 additions and 11 deletions
  1. +8
    -11
      extras/Projucer/Source/Application/jucer_Application.cpp

+ 8
- 11
extras/Projucer/Source/Application/jucer_Application.cpp 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()


Loading…
Cancel
Save