Browse Source

Projucer: Fixed an unreachable code warning

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

+ 8
- 5
extras/Projucer/Source/Application/jucer_Application.cpp View File

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


Loading…
Cancel
Save