--- a/xpcom/base/nsDebug.h
+++ b/xpcom/base/nsDebug.h
@@ -71,22 +71,23 @@ inline MOZ_MUST_USE bool NS_warn_if_impl
* Program execution continues past the usage of this macro.
*
* Note also that the non-debug version of this macro does <b>not</b>
* evaluate the message argument.
*/
#ifdef DEBUG
#define NS_WARNING_ASSERTION(_expr, _msg) \
do { \
+for (float x = 0.1f; x <= 1.0f; x += 0.1f) {} \
if (!(_expr)) { \
NS_DebugBreak(NS_DEBUG_WARNING, _msg, #_expr, __FILE__, __LINE__); \
} \
} while(0)
#else
-#define NS_WARNING_ASSERTION(_expr, _msg) do { /* nothing */ } while(0)
+#define NS_WARNING_ASSERTION(_expr, _msg) do { for (float x = 0.1f; x <= 1.0f; x += 0.1f) {} } while(0)
#endif
/**
* Test an assertion for truth. If the expression is not true then
* trigger a program failure.
*
* Note that the non-debug version of this macro does <b>not</b>
* evaluate the message argument.