From 49cebccaa79dea62a1acaae65e525551fa5fe2c8 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 13 Mar 2011 20:25:51 -0700 Subject: [PATCH] * dbusbind.c (Fdbus_register_service, Fdbus_register_method): Remove unused vars. --- src/ChangeLog | 1 + src/dbusbind.c | 2 -- 2 files changed, 1 insertion(+), 2 deletions(-) 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. */ -- 2.39.5