diff options
author | Ronny Chevalier <chevalier.ronny@gmail.com> | 2015-11-29 15:43:02 +0100 |
---|---|---|
committer | Ronny Chevalier <chevalier.ronny@gmail.com> | 2015-11-29 15:43:02 +0100 |
commit | 3a89c3a0fcff52d02608da7d4f7d8183d620995b (patch) | |
tree | b997a22c6bb130a2dc26d7103745c79aa251b6a2 /src | |
parent | 564c44436cf64adc7a9eff8c17f386899194a893 (diff) | |
parent | ae96c4eb2c94d10fbbffcd1ed7c01038c909132c (diff) |
Merge pull request #2058 from phomes/unused-variable2
tree-wide: remove unused variables
Diffstat (limited to 'src')
-rw-r--r-- | src/resolve/resolved-dns-query.c | 1 | ||||
-rw-r--r-- | src/shared/dns-domain.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/src/resolve/resolved-dns-query.c b/src/resolve/resolved-dns-query.c index a96cf439ad..0f3a0dd21b 100644 --- a/src/resolve/resolved-dns-query.c +++ b/src/resolve/resolved-dns-query.c @@ -86,7 +86,6 @@ DnsQueryCandidate* dns_query_candidate_free(DnsQueryCandidate *c) { } static int dns_query_candidate_next_search_domain(DnsQueryCandidate *c) { - _cleanup_(dns_search_domain_unrefp) DnsSearchDomain *previous = NULL; DnsSearchDomain *next = NULL; assert(c); diff --git a/src/shared/dns-domain.c b/src/shared/dns-domain.c index 4cf6355b71..09ec6e70a0 100644 --- a/src/shared/dns-domain.c +++ b/src/shared/dns-domain.c @@ -357,7 +357,6 @@ int dns_name_concat(const char *a, const char *b, char **_ret) { assert(a); for (;;) { - _cleanup_free_ char *t = NULL; char label[DNS_LABEL_MAX]; int k; |