mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-14 20:22:00 +00:00
Bug 656282: Remove redundant declaration that causes an MSVC warning, r=luke
--HG-- extra : rebase_source : 42c6e9594f36fd7320bdea90fdb01c955bf07f4d
This commit is contained in:
parent
3df1dd05de
commit
0101f388cf
@ -51,13 +51,6 @@
|
||||
|
||||
JS_BEGIN_EXTERN_C
|
||||
|
||||
/*
|
||||
* JS_Assert is present even in release builds, for the benefit of applications
|
||||
* that build DEBUG and link against a non-DEBUG SpiderMonkey library.
|
||||
*/
|
||||
extern JS_PUBLIC_API(void)
|
||||
JS_Assert(const char *s, const char *file, JSIntn ln);
|
||||
|
||||
#define JS_CRASH_UNLESS(__cond) \
|
||||
JS_BEGIN_MACRO \
|
||||
if (!(__cond)) { \
|
||||
|
@ -52,6 +52,9 @@
|
||||
*
|
||||
* Once mfbt needs object files, this unholy union with JS_Assert()
|
||||
* will be broken.
|
||||
*
|
||||
* JS_Assert is present even in release builds, for the benefit of applications
|
||||
* that build DEBUG and link against a non-DEBUG SpiderMonkey library.
|
||||
*/
|
||||
MOZ_BEGIN_EXTERN_C
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user