Bug 679346 - Fix GCC warning "‘void UnsafeError(const char*, ...)’ defined but not used" in jsdbgapi.cpp. r=gal.

This commit is contained in:
Jason Orendorff 2011-08-16 11:36:56 -05:00
parent 6b7be36715
commit c238a04626

View File

@ -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, ...)