mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-11 20:35:50 +00:00
Bug 679346 - Fix GCC warning "‘void UnsafeError(const char*, ...)’ defined but not used" in jsdbgapi.cpp. r=gal.
This commit is contained in:
parent
6b7be36715
commit
c238a04626
@ -1227,7 +1227,7 @@ JS_ClearContextDebugHooks(JSContext *cx)
|
||||
static char gLastError[2000];
|
||||
|
||||
static void
|
||||
#ifdef _GNU_SOURCE
|
||||
#ifdef __GNUC__
|
||||
__attribute__((unused,format(printf,1,2)))
|
||||
#endif
|
||||
UnsafeError(const char *format, ...)
|
||||
|
Loading…
Reference in New Issue
Block a user