diff options
author | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2014-08-19 22:55:06 +0200 |
---|---|---|
committer | Thomas Hindoe Paaboel Andersen <phomes@gmail.com> | 2014-08-19 22:55:42 +0200 |
commit | ac45dec934b0932d03fbd498a3c6e8e90a01813f (patch) | |
tree | 20e2129ec1d1194fbf8068e6ff57d503c23b6e15 /src | |
parent | d5a169aaee81246262a83cef2a0295ea5d1e7e40 (diff) |
remove unused variables
Diffstat (limited to 'src')
-rw-r--r-- | src/core/dbus-job.c | 1 | ||||
-rw-r--r-- | src/libsystemd/sd-bus/bus-util.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/core/dbus-job.c b/src/core/dbus-job.c index eb7257d681..3f7a28a734 100644 --- a/src/core/dbus-job.c +++ b/src/core/dbus-job.c @@ -30,7 +30,6 @@ static BUS_DEFINE_PROPERTY_GET_ENUM(property_get_type, job_type, JobType); static BUS_DEFINE_PROPERTY_GET_ENUM(property_get_state, job_state, JobState); static int verify_sys_admin_or_owner_sync(sd_bus_message *message, Job *j, sd_bus_error *error) { - _cleanup_bus_creds_unref_ sd_bus_creds *creds = NULL; int r; if (sd_bus_track_contains(j->clients, sd_bus_message_get_sender(message))) diff --git a/src/libsystemd/sd-bus/bus-util.c b/src/libsystemd/sd-bus/bus-util.c index 44facc6ef9..475ed34a53 100644 --- a/src/libsystemd/sd-bus/bus-util.c +++ b/src/libsystemd/sd-bus/bus-util.c @@ -322,7 +322,6 @@ int bus_verify_polkit_async( #ifdef ENABLE_POLKIT _cleanup_bus_message_unref_ sd_bus_message *pk = NULL; - _cleanup_bus_slot_unref_ sd_bus_slot *slot = NULL; AsyncPolkitQuery *q; const char *sender; sd_bus_message_handler_t callback; |