summaryrefslogtreecommitdiff
path: root/src/login
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-02-02 22:56:44 +0100
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-02-02 22:58:06 +0100
commitfed6df828d86c053a96d5b50af75c53eb8dd4666 (patch)
tree0df8df0e0df6f2dd06f956c179d513d0df5a9247 /src/login
parent73cb77549536deab85d8d1261b5381e87d80ab23 (diff)
remove unused variables
Diffstat (limited to 'src/login')
-rw-r--r--src/login/logind-dbus.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/login/logind-dbus.c b/src/login/logind-dbus.c
index f2f91d5ded..c7c1559d50 100644
--- a/src/login/logind-dbus.c
+++ b/src/login/logind-dbus.c
@@ -216,7 +216,6 @@ static int property_get_preparing(
static BUS_DEFINE_PROPERTY_GET_ENUM(property_get_handle_action, handle_action, HandleAction);
static int method_get_session(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) {
- _cleanup_bus_creds_unref_ sd_bus_creds *creds = NULL;
_cleanup_free_ char *p = NULL;
Manager *m = userdata;
const char *name;
@@ -939,7 +938,6 @@ static int method_lock_sessions(sd_bus *bus, sd_bus_message *message, void *user
}
static int method_kill_session(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) {
- _cleanup_bus_creds_unref_ sd_bus_creds *creds = NULL;
const char *name, *swho;
Manager *m = userdata;
Session *session;
@@ -1007,7 +1005,6 @@ static int method_kill_user(sd_bus *bus, sd_bus_message *message, void *userdata
}
static int method_terminate_session(sd_bus *bus, sd_bus_message *message, void *userdata, sd_bus_error *error) {
- _cleanup_bus_creds_unref_ sd_bus_creds *creds = NULL;
Manager *m = userdata;
const char *name;
Session *session;