chiark / gitweb /
remove unused variables
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Tue, 19 Aug 2014 20:55:06 +0000 (22:55 +0200)
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Tue, 19 Aug 2014 20:55:42 +0000 (22:55 +0200)
src/core/dbus-job.c
src/libsystemd/sd-bus/bus-util.c

index eb7257d681368bc2ae21c92b644919550309a351..3f7a28a734b4d1ac1bc1c8af3ad4f1f519158701 100644 (file)
@@ -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)))
index 44facc6ef91e64d9d0176ee292e913165f4f2018..475ed34a53d5215a4e837d2f04b77d97ddcb5481 100644 (file)
@@ -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;