summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-12-16 19:33:20 +0100
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>2015-12-16 19:59:45 +0100
commitb78b0b674f1eeeafede1e850ea5ae6d6b115e853 (patch)
tree90b35d8651c2acc58291147877cd4584ab907862
parent111befce5514d590e9b334a547559bd0ecf8df8d (diff)
resolve: remove unused variable
-rw-r--r--src/resolve/resolved-dns-cache.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/resolve/resolved-dns-cache.c b/src/resolve/resolved-dns-cache.c
index 676fa08ffb..62713b5a6a 100644
--- a/src/resolve/resolved-dns-cache.c
+++ b/src/resolve/resolved-dns-cache.c
@@ -784,8 +784,6 @@ int dns_cache_export_shared_to_packet(DnsCache *cache, DnsPacket *p) {
DnsCacheItem *j;
LIST_FOREACH(by_key, j, i) {
- _cleanup_free_ char *t = NULL;
-
if (!j->rr)
continue;