1
0
Fork 0
mirror of https://github.com/juce-framework/JUCE.git synced 2026-02-01 03:10:06 +00:00

Fixed a compile error when a precompiler variable is not set

This commit is contained in:
tpoole 2017-05-08 09:08:36 +01:00
parent 70a830be4b
commit 5a0a17fc72
2 changed files with 1 additions and 3 deletions

View file

@ -144,6 +144,7 @@ void ReportingThreadContainer::changeListenerCallback (ChangeBroadcaster*)
//==============================================================================
JUCESplashScreen::JUCESplashScreen (Component& parent)
{
ignoreUnused (hasStartedFading);
ignoreUnused (parent);
#if JUCE_REPORT_APP_USAGE

View file

@ -62,10 +62,7 @@ private:
ScopedPointer<Drawable> content;
CriticalSection appUsageReporting;
ComponentAnimator fader;
#if JUCE_DISPLAY_SPLASH_SCREEN
bool hasStartedFading = false;
#endif
JUCE_DECLARE_NON_COPYABLE_WITH_LEAK_DETECTOR (JUCESplashScreen)
};