chiark / gitweb /
remove unused variables
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Fri, 7 Feb 2014 22:09:40 +0000 (23:09 +0100)
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Fri, 7 Feb 2014 22:09:40 +0000 (23:09 +0100)
src/login/logind-dbus.c
src/network/networkd-link.c

index 651bd80..7e96a04 100644 (file)
@@ -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;
 
index 2883f19..867baa6 100644 (file)
@@ -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;