From: Paul Eggert Date: Mon, 14 Mar 2011 03:25:51 +0000 (-0700) Subject: * dbusbind.c (Fdbus_register_service, Fdbus_register_method): Remove unused vars. X-Git-Tag: emacs-pretest-24.0.90~104^2~275^2~554^2~123 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=49cebccaa79dea62a1acaae65e525551fa5fe2c8;p=emacs.git * dbusbind.c (Fdbus_register_service, Fdbus_register_method): Remove unused vars. --- diff --git a/src/ChangeLog b/src/ChangeLog index 8a053f05c9d..030cde063a2 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -9,6 +9,7 @@ * dbusbind.c (Fdbus_init_bus): Add cast to avoid warning if GCC considers string literals to be constants. + (Fdbus_register_service, Fdbus_register_method): Remove unused vars. 2011-03-13 Chong Yidong diff --git a/src/dbusbind.c b/src/dbusbind.c index 7bb4e551da5..2c8de20a4d4 100644 --- a/src/dbusbind.c +++ b/src/dbusbind.c @@ -1888,7 +1888,6 @@ usage: (dbus-register-service BUS SERVICE &rest FLAGS) */) (int nargs, register Lisp_Object *args) { Lisp_Object bus, service; - struct gcpro gcpro1, gcpro2; DBusConnection *connection; unsigned int i; unsigned int value; @@ -2122,7 +2121,6 @@ discovering the still incomplete interface.*/) Lisp_Object dont_register_service) { Lisp_Object key, key1, value; - DBusError derror; Lisp_Object args[2] = { bus, service }; /* Check parameters. */