mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-18 15:55:36 +00:00
Silence an unused-variable warning with gcc opt. No bug, r=themaid
--HG-- extra : rebase_source : e4c0ff6af6a2bbf60de583f1f19c3329ee8e26fc
This commit is contained in:
parent
198283cce9
commit
58d47410a1
@ -3379,6 +3379,7 @@ DebuggerFrame_setOnPop(JSContext *cx, unsigned argc, Value *vp)
|
||||
{
|
||||
REQUIRE_ARGC("Debugger.Frame.set onPop", 1);
|
||||
THIS_FRAME(cx, argc, vp, "set onPop", args, thisobj, fp);
|
||||
(void) fp; // Silence GCC warning
|
||||
if (!IsValidHook(args[0])) {
|
||||
JS_ReportErrorNumber(cx, js_GetErrorMessage, NULL, JSMSG_NOT_CALLABLE_OR_UNDEFINED);
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user