mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 859482: Remove no-longer-used variable 'definedProperty' from xpc_qsDefineQuickStubs. r=bz
This commit is contained in:
parent
5bfef28510
commit
84282689ce
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user