summaryrefslogtreecommitdiff
path: root/src/libsystemd/sd-network/sd-network.c
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2016-02-23 20:16:59 +0100
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2016-02-23 20:40:51 +0100
commit662ea1b14ab2306de8c7793e6283994d695cc09d (patch)
tree04b4c5d052dfd2a7565e02a56a252fcc5b95e15c /src/libsystemd/sd-network/sd-network.c
parent7c9337dae8c27b8ff963412274aa95eaf1ec04a5 (diff)
tree-wide: remove unused variables
Diffstat (limited to 'src/libsystemd/sd-network/sd-network.c')
-rw-r--r--src/libsystemd/sd-network/sd-network.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/libsystemd/sd-network/sd-network.c b/src/libsystemd/sd-network/sd-network.c
index 580047d3ab..f8e18f23fd 100644
--- a/src/libsystemd/sd-network/sd-network.c
+++ b/src/libsystemd/sd-network/sd-network.c
@@ -209,7 +209,6 @@ _public_ int sd_network_link_get_route_domains(int ifindex, char ***ret) {
static int network_link_get_ifindexes(int ifindex, const char *key, int **ret) {
char path[strlen("/run/systemd/netif/links/") + DECIMAL_STR_MAX(ifindex) + 1];
- _cleanup_strv_free_ char **a = NULL;
_cleanup_free_ int *ifis = NULL;
_cleanup_free_ char *s = NULL;
size_t allocated = 0, c = 0;