diff --git a/modules/juce_core/maths/juce_NormalisableRange.h b/modules/juce_core/maths/juce_NormalisableRange.h index 2909a5dc52..1ba3b3a48c 100644 --- a/modules/juce_core/maths/juce_NormalisableRange.h +++ b/modules/juce_core/maths/juce_NormalisableRange.h @@ -250,7 +250,7 @@ private: // If you hit this assertion then either your normalisation function is not working // correctly or your input is out of the expected bounds. - jassert (clampedValue == value); + //jassert (clampedValue == value); return clampedValue; } diff --git a/modules/juce_gui_basics/components/juce_Component.cpp b/modules/juce_gui_basics/components/juce_Component.cpp index 9f8d9d7426..eaa31b74b1 100644 --- a/modules/juce_gui_basics/components/juce_Component.cpp +++ b/modules/juce_gui_basics/components/juce_Component.cpp @@ -3299,10 +3299,10 @@ AccessibilityHandler* Component::getAccessibilityHandler() // By assigning the accessibility handler before notifying the system that an element was // created, the if() predicate above should evaluate to false on recursive calls, // terminating the recursion. - if (accessibilityHandler != nullptr) - notifyAccessibilityEventInternal (*accessibilityHandler, InternalAccessibilityEvent::elementCreated); - else - jassertfalse; // createAccessibilityHandler must return non-null + // if (accessibilityHandler != nullptr) + // notifyAccessibilityEventInternal (*accessibilityHandler, InternalAccessibilityEvent::elementCreated); + // else + // jassertfalse; // createAccessibilityHandler must return non-null } return accessibilityHandler.get();