Bug 917267 - Remove some unneeded code in xpconnect; r=bholley

This commit is contained in:
Ehsan Akhgari 2013-09-17 12:38:56 -04:00
parent 32841d7ffc
commit a1158bad50

View File

@ -892,12 +892,6 @@ static const JSFunctionSpec glob_functions[] = {
JS_FS_END
};
const JSClass global_class = {
"global", 0,
JS_PropertyStub, JS_DeletePropertyStub, JS_PropertyStub, JS_StrictPropertyStub,
JS_EnumerateStub, JS_ResolveStub, JS_ConvertStub, nullptr
};
static bool
env_setProperty(JSContext *cx, HandleObject obj, HandleId id, bool strict, MutableHandleValue vp)
{
@ -1179,8 +1173,6 @@ usage(void)
return 2;
}
extern const JSClass global_class;
static void
ProcessArgsForCompartment(JSContext *cx, char **argv, int argc)
{