mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-04-02 20:42:49 +00:00
fixes bug 305987 "NS_WARN_IF_FALSE asserts" r=bsmedberg
This commit is contained in:
parent
05b255bcdd
commit
5b900b727a
@ -88,7 +88,7 @@
|
||||
#define NS_WARN_IF_FALSE(_expr,_msg) \
|
||||
PR_BEGIN_MACRO \
|
||||
if (!(_expr)) { \
|
||||
NS_DebugBreak(NS_DEBUG_ASSERTION, _msg, #_expr, __FILE__, __LINE__); \
|
||||
NS_DebugBreak(NS_DEBUG_WARNING, _msg, #_expr, __FILE__, __LINE__); \
|
||||
} \
|
||||
PR_END_MACRO
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user