mirror of
https://github.com/clearlinux/systemd-stable.git
synced 2026-10-03 23:38:39 +00:00
remove unused variables
This commit is contained in:
@@ -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)))
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user