From e60aa581d6a848abea4cd059c911b83a6cbe3b74 Mon Sep 17 00:00:00 2001 From: jules Date: Tue, 14 Oct 2014 11:48:16 +0100 Subject: [PATCH] Added some missing semi-colons. --- .../ComponentEditor/paintelements/jucer_PaintElementPath.cpp | 2 +- extras/audio plugin host/Source/FilterGraph.cpp | 2 +- modules/juce_audio_basics/midi/juce_MidiMessage.cpp | 2 +- modules/juce_audio_plugin_client/AU/juce_AU_Wrapper.mm | 2 +- modules/juce_core/xml/juce_XmlElement.cpp | 2 +- .../contexts/juce_LowLevelGraphicsPostScriptRenderer.cpp | 2 +- modules/juce_gui_basics/layout/juce_ComponentAnimator.cpp | 2 +- modules/juce_gui_basics/menus/juce_PopupMenu.cpp | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) diff --git a/extras/Introjucer/Source/ComponentEditor/paintelements/jucer_PaintElementPath.cpp b/extras/Introjucer/Source/ComponentEditor/paintelements/jucer_PaintElementPath.cpp index 26724b8ce0..a0728ebd57 100644 --- a/extras/Introjucer/Source/ComponentEditor/paintelements/jucer_PaintElementPath.cpp +++ b/extras/Introjucer/Source/ComponentEditor/paintelements/jucer_PaintElementPath.cpp @@ -1380,7 +1380,7 @@ PathPoint PathPoint::withChangedPointType (const Path::Iterator::PathElementType const int index = owner->points.indexOf (this); PathPoint* lastPoint = owner->points [index - 1]; - jassert (lastPoint != nullptr) + jassert (lastPoint != nullptr); if (lastPoint != nullptr) { lastPoint->pos [lastPoint->getNumPoints() - 1] diff --git a/extras/audio plugin host/Source/FilterGraph.cpp b/extras/audio plugin host/Source/FilterGraph.cpp index 45336a2bd7..c29d79061a 100644 --- a/extras/audio plugin host/Source/FilterGraph.cpp +++ b/extras/audio plugin host/Source/FilterGraph.cpp @@ -262,7 +262,7 @@ static XmlElement* createNodeXml (AudioProcessorGraph::Node* const node) noexcep if (plugin == nullptr) { - jassertfalse + jassertfalse; return nullptr; } diff --git a/modules/juce_audio_basics/midi/juce_MidiMessage.cpp b/modules/juce_audio_basics/midi/juce_MidiMessage.cpp index bf5e19e9a3..07e2ccd271 100644 --- a/modules/juce_audio_basics/midi/juce_MidiMessage.cpp +++ b/modules/juce_audio_basics/midi/juce_MidiMessage.cpp @@ -661,7 +661,7 @@ String MidiMessage::getTextFromTextMetaEvent() const MidiMessage MidiMessage::textMetaEvent (int type, StringRef text) { - jassert (type > 0 && type < 16) + jassert (type > 0 && type < 16); MidiMessage result; diff --git a/modules/juce_audio_plugin_client/AU/juce_AU_Wrapper.mm b/modules/juce_audio_plugin_client/AU/juce_AU_Wrapper.mm index 9e56d4c1ad..ad40e26aae 100644 --- a/modules/juce_audio_plugin_client/AU/juce_AU_Wrapper.mm +++ b/modules/juce_audio_plugin_client/AU/juce_AU_Wrapper.mm @@ -1330,7 +1330,7 @@ public: } else { - jassertfalse // can't get a pointer to our effect + jassertfalse; // can't get a pointer to our effect } } diff --git a/modules/juce_core/xml/juce_XmlElement.cpp b/modules/juce_core/xml/juce_XmlElement.cpp index 0a9f0543af..866d10ab3b 100644 --- a/modules/juce_core/xml/juce_XmlElement.cpp +++ b/modules/juce_core/xml/juce_XmlElement.cpp @@ -53,7 +53,7 @@ static void sanityCheckTagName (const String& tag) (void) tag; // the tag name mustn't be empty, or it'll look like a text element! - jassert (tag.containsNonWhitespaceChars()) + jassert (tag.containsNonWhitespaceChars()); // The tag can't contain spaces or other characters that would create invalid XML! jassert (! tag.containsAnyOf (" <>/&(){}")); diff --git a/modules/juce_graphics/contexts/juce_LowLevelGraphicsPostScriptRenderer.cpp b/modules/juce_graphics/contexts/juce_LowLevelGraphicsPostScriptRenderer.cpp index be4329c792..d963ed640e 100644 --- a/modules/juce_graphics/contexts/juce_LowLevelGraphicsPostScriptRenderer.cpp +++ b/modules/juce_graphics/contexts/juce_LowLevelGraphicsPostScriptRenderer.cpp @@ -384,7 +384,7 @@ void LowLevelGraphicsPostScriptRenderer::fillPath (const Path& path, const Affin { // this doesn't work correctly yet - it could be improved to handle solid gradients, but // postscript can't do semi-transparent ones. - notPossibleInPostscriptAssert // you can disable this warning by setting the WARN_ABOUT_NON_POSTSCRIPT_OPERATIONS flag at the top of this file + notPossibleInPostscriptAssert; // you can disable this warning by setting the WARN_ABOUT_NON_POSTSCRIPT_OPERATIONS flag at the top of this file writeClip(); out << "gsave "; diff --git a/modules/juce_gui_basics/layout/juce_ComponentAnimator.cpp b/modules/juce_gui_basics/layout/juce_ComponentAnimator.cpp index a22414bd22..7c26c99afa 100644 --- a/modules/juce_gui_basics/layout/juce_ComponentAnimator.cpp +++ b/modules/juce_gui_basics/layout/juce_ComponentAnimator.cpp @@ -217,7 +217,7 @@ void ComponentAnimator::animateComponent (Component* const component, const double endSpeed) { // the speeds must be 0 or greater! - jassert (startSpeed >= 0 && endSpeed >= 0) + jassert (startSpeed >= 0 && endSpeed >= 0); if (component != nullptr) { diff --git a/modules/juce_gui_basics/menus/juce_PopupMenu.cpp b/modules/juce_gui_basics/menus/juce_PopupMenu.cpp index fdaadb2fc6..b2e64a3153 100644 --- a/modules/juce_gui_basics/menus/juce_PopupMenu.cpp +++ b/modules/juce_gui_basics/menus/juce_PopupMenu.cpp @@ -740,7 +740,7 @@ public: void ensureItemIsVisible (const int itemID, int wantedY) { - jassert (itemID != 0) + jassert (itemID != 0); for (int i = items.size(); --i >= 0;) {