From 84282689ce2330bebe3d70c78a473962506bf776 Mon Sep 17 00:00:00 2001 From: Daniel Holbert Date: Mon, 8 Apr 2013 15:06:27 -0700 Subject: [PATCH] Bug 859482: Remove no-longer-used variable 'definedProperty' from xpc_qsDefineQuickStubs. r=bz --- js/xpconnect/src/XPCQuickStubs.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/js/xpconnect/src/XPCQuickStubs.cpp b/js/xpconnect/src/XPCQuickStubs.cpp index bf1ef4b27c2..9401ee5e39d 100644 --- a/js/xpconnect/src/XPCQuickStubs.cpp +++ b/js/xpconnect/src/XPCQuickStubs.cpp @@ -114,7 +114,6 @@ xpc_qsDefineQuickStubs(JSContext *cx, JSObject *proto, unsigned flags, * searching the interfaces forward. Here, definitions toward the * front of 'interfaces' overwrite those toward the back. */ - bool definedProperty = false; for (uint32_t i = ifacec; i-- != 0;) { const nsID &iid = *interfaces[i]; const xpc_qsHashEntry *entry = @@ -126,7 +125,6 @@ xpc_qsDefineQuickStubs(JSContext *cx, JSObject *proto, unsigned flags, const xpc_qsPropertySpec *ps = propspecs + entry->prop_index; const xpc_qsPropertySpec *ps_end = ps + entry->n_props; for ( ; ps < ps_end; ++ps) { - definedProperty = true; if (!JS_DefineProperty(cx, proto, stringTable + ps->name_index, JSVAL_VOID,