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

Removed a few compiler warnings

This commit is contained in:
Julian Storer 2009-12-21 16:51:57 +00:00
parent af7d523f4f
commit aa98aa03ec
4 changed files with 23 additions and 2 deletions

View file

@ -274,12 +274,19 @@
//=============================================================================
// If only building the core classes, we can explicitly turn off some features to avoid including them:
#if JUCE_ONLY_BUILD_CORE_LIBRARY
#undef JUCE_QUICKTIME
#define JUCE_QUICKTIME 0
#undef JUCE_OPENGL
#define JUCE_OPENGL 0
#undef JUCE_USE_CDBURNER
#define JUCE_USE_CDBURNER 0
#undef JUCE_USE_CDREADER
#define JUCE_USE_CDREADER 0
#undef JUCE_WEB_BROWSER
#define JUCE_WEB_BROWSER 0
#undef JUCE_PLUGINHOST_AU
#define JUCE_PLUGINHOST_AU 0
#undef JUCE_PLUGINHOST_VST
#define JUCE_PLUGINHOST_VST 0
#endif

View file

@ -408,12 +408,19 @@
// If only building the core classes, we can explicitly turn off some features to avoid including them:
#if JUCE_ONLY_BUILD_CORE_LIBRARY
#undef JUCE_QUICKTIME
#define JUCE_QUICKTIME 0
#undef JUCE_OPENGL
#define JUCE_OPENGL 0
#undef JUCE_USE_CDBURNER
#define JUCE_USE_CDBURNER 0
#undef JUCE_USE_CDREADER
#define JUCE_USE_CDREADER 0
#undef JUCE_WEB_BROWSER
#define JUCE_WEB_BROWSER 0
#undef JUCE_PLUGINHOST_AU
#define JUCE_PLUGINHOST_AU 0
#undef JUCE_PLUGINHOST_VST
#define JUCE_PLUGINHOST_VST 0
#endif

View file

@ -442,12 +442,19 @@
// If only building the core classes, we can explicitly turn off some features to avoid including them:
#if JUCE_ONLY_BUILD_CORE_LIBRARY
#undef JUCE_QUICKTIME
#define JUCE_QUICKTIME 0
#undef JUCE_OPENGL
#define JUCE_OPENGL 0
#undef JUCE_USE_CDBURNER
#define JUCE_USE_CDBURNER 0
#undef JUCE_USE_CDREADER
#define JUCE_USE_CDREADER 0
#undef JUCE_WEB_BROWSER
#define JUCE_WEB_BROWSER 0
#undef JUCE_PLUGINHOST_AU
#define JUCE_PLUGINHOST_AU 0
#undef JUCE_PLUGINHOST_VST
#define JUCE_PLUGINHOST_VST 0
#endif
@ -9318,8 +9325,8 @@ public:
bool operator== (const identifier& other) const throw()
{
return hashCode == other.hashCode;
jassert (hashCode != other.hashCode || name == other.name); // check for name hash collisions
return hashCode == other.hashCode;
}
String name;

View file

@ -119,8 +119,8 @@ public:
bool operator== (const identifier& other) const throw()
{
return hashCode == other.hashCode;
jassert (hashCode != other.hashCode || name == other.name); // check for name hash collisions
return hashCode == other.hashCode;
}
String name;