From de88abeac8f0ad52561926ecda2fd39e3b445f9e Mon Sep 17 00:00:00 2001 From: Andreas Gal Date: Sat, 28 Feb 2009 18:40:59 -0800 Subject: [PATCH] Style nit (no bug, no code change). --- js/src/jsobj.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/js/src/jsobj.cpp b/js/src/jsobj.cpp index 66048d1a7e3..a0e447ac1bc 100644 --- a/js/src/jsobj.cpp +++ b/js/src/jsobj.cpp @@ -2633,10 +2633,9 @@ js_InitEval(JSContext *cx, JSObject *obj) JSObject * js_InitObjectClass(JSContext *cx, JSObject *obj) { - JSObject *proto; - proto = JS_InitClass(cx, obj, NULL, &js_ObjectClass, js_Object, 1, - object_props, object_methods, NULL, - object_static_methods); + JSObject *proto = JS_InitClass(cx, obj, NULL, &js_ObjectClass, js_Object, + 1, object_props, object_methods, NULL, + object_static_methods); #ifdef JS_TRACER if (proto) js_SetTraceableNative(cx, proto, js_Object_trcinfo);