summaryrefslogtreecommitdiff
path: root/src/network/networkd-link.c
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2014-02-07 23:09:40 +0100
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2014-02-07 23:09:40 +0100
commitecd2f2c5947d9e2f4d6792c2a3a90b8ced6a5b3e (patch)
treead5b769008cda6dcd0e1a283d3f55bad51a88683 /src/network/networkd-link.c
parentba978d7b325998709fb19d368d290fa1dff37699 (diff)
remove unused variables
Diffstat (limited to 'src/network/networkd-link.c')
-rw-r--r--src/network/networkd-link.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/network/networkd-link.c b/src/network/networkd-link.c
index 2883f195da..867baa6dee 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;