summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-11-29 08:58:31 +0100
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-11-29 08:59:40 +0100
commitae96c4eb2c94d10fbbffcd1ed7c01038c909132c (patch)
treeb997a22c6bb130a2dc26d7103745c79aa251b6a2
parent564c44436cf64adc7a9eff8c17f386899194a893 (diff)
tree-wide: remove unused variables
-rw-r--r--src/resolve/resolved-dns-query.c1
-rw-r--r--src/shared/dns-domain.c1
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;