[systemd-commits] src/login src/network
Thomas H.P. Andersen
phomes at kemper.freedesktop.org
Fri Feb 7 14:09:45 PST 2014
src/login/logind-dbus.c | 1 -
src/network/networkd-link.c | 2 --
2 files changed, 3 deletions(-)
New commits:
commit ecd2f2c5947d9e2f4d6792c2a3a90b8ced6a5b3e
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date: Fri Feb 7 23:09:40 2014 +0100
remove unused variables
diff --git a/src/login/logind-dbus.c b/src/login/logind-dbus.c
index 651bd80..7e96a04 100644
--- a/src/login/logind-dbus.c
+++ b/src/login/logind-dbus.c
@@ -2362,7 +2362,6 @@ int manager_stop_unit(Manager *manager, const char *unit, sd_bus_error *error, c
}
int manager_abandon_scope(Manager *manager, const char *scope, sd_bus_error *error) {
- _cleanup_bus_message_unref_ sd_bus_message *reply = NULL;
_cleanup_free_ char *path = NULL;
int r;
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c
index 2883f19..867baa6 100644
--- a/src/network/networkd-link.c
+++ b/src/network/networkd-link.c
@@ -511,8 +511,6 @@ static int dhcp_lease_acquired(sd_dhcp_client *client, Link *link) {
struct in_addr netmask;
struct in_addr gateway;
unsigned prefixlen;
- _cleanup_address_free_ Address *addr = NULL;
- _cleanup_route_free_ Route *rt = NULL;
struct in_addr *nameservers;
size_t nameservers_size;
int r;
More information about the systemd-commits
mailing list