tree-wide: remove unused variables (#8612)
This commit is contained in:
parent
3d5b4aaad3
commit
c75436067f
|
@ -88,7 +88,7 @@ int mount_points_list_get(const char *mountinfo, MountPoint **head) {
|
|||
for (;;) {
|
||||
struct libmnt_fs *fs;
|
||||
const char *path, *options, *fstype;
|
||||
_cleanup_free_ char *d = NULL, *p = NULL;
|
||||
_cleanup_free_ char *p = NULL;
|
||||
unsigned long remount_flags = 0u;
|
||||
_cleanup_free_ char *remount_options = NULL;
|
||||
bool try_remount_ro;
|
||||
|
|
|
@ -776,8 +776,6 @@ static int print_property(const char *name, sd_bus_message *m, bool value, bool
|
|||
}
|
||||
|
||||
static int show_properties(sd_bus *bus, const char *path, bool *new_line) {
|
||||
_cleanup_(sd_bus_message_unrefp) sd_bus_message *reply = NULL;
|
||||
_cleanup_(sd_bus_error_free) sd_bus_error error = SD_BUS_ERROR_NULL;
|
||||
int r;
|
||||
|
||||
assert(bus);
|
||||
|
|
|
@ -658,7 +658,7 @@ static int method_list_inhibitors(sd_bus_message *message, void *userdata, sd_bu
|
|||
|
||||
static int method_create_session(sd_bus_message *message, void *userdata, sd_bus_error *error) {
|
||||
const char *service, *type, *class, *cseat, *tty, *display, *remote_user, *remote_host, *desktop;
|
||||
_cleanup_free_ char *unit = NULL, *id = NULL;
|
||||
_cleanup_free_ char *id = NULL;
|
||||
Session *session = NULL;
|
||||
uint32_t audit_id = 0;
|
||||
Manager *m = userdata;
|
||||
|
|
Loading…
Reference in a new issue