summaryrefslogtreecommitdiff
path: root/src/login
diff options
context:
space:
mode:
authorZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-09-17 17:30:47 -0500
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2013-09-17 19:08:51 -0400
commit1dc2ced4646a78b3dee9e3ea44130f938d6425bc (patch)
tree74a9c4aee3b0dd50b8d2f6800915e3e43b302e47 /src/login
parent831dedef66dbf2650a9dc41263e624fe08f3bb7a (diff)
Remove six unused variables and add annotation
clang FTW!
Diffstat (limited to 'src/login')
-rw-r--r--src/login/logind-dbus.c1
-rw-r--r--src/login/logind-session.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/src/login/logind-dbus.c b/src/login/logind-dbus.c
index fd8ee1b801..ec590c0c56 100644
--- a/src/login/logind-dbus.c
+++ b/src/login/logind-dbus.c
@@ -2395,7 +2395,6 @@ DBusHandlerResult bus_message_filter(
} else if (dbus_message_is_signal(message, "org.freedesktop.DBus.Properties", "PropertiesChanged")) {
- _cleanup_dbus_message_unref_ DBusMessage *reply = NULL;
_cleanup_free_ char *unit = NULL;
const char *path;
diff --git a/src/login/logind-session.c b/src/login/logind-session.c
index ce982efed4..27aa335142 100644
--- a/src/login/logind-session.c
+++ b/src/login/logind-session.c
@@ -259,7 +259,6 @@ int session_load(Session *s) {
*seat = NULL,
*vtnr = NULL,
*leader = NULL,
- *audit_id = NULL,
*type = NULL,
*class = NULL,
*uid = NULL,