[jscore] Remove duplicate class creation (whoops)
authorKalle Vahlman <kalle.vahlman@movial.com>
Thu, 23 Apr 2009 11:15:41 +0000 (14:15 +0300)
committerKalle Vahlman <kalle.vahlman@movial.com>
Thu, 23 Apr 2009 11:15:41 +0000 (14:15 +0300)
jscorebus/jscorebus.c

index b394587ebc1c9f6d8cc1b30e85ae5356b7709c57..d3d38222dc149979fc25fcd707798b209a891e71 100644 (file)
@@ -547,9 +547,6 @@ JSObjectRef dbus_constructor (JSContextRef context,
                               const JSValueRef arguments[],
                               JSValueRef* exception)
 {
-  JSClassRef dbus_class;
-  dbus_class = JSClassCreate(&dbus_jsclass_def);
-
   return JSObjectMake(context,
                       (JSClassRef)jsclass_lookup(&dbus_jsclass_def),
                       gcontext);