From b78b0b674f1eeeafede1e850ea5ae6d6b115e853 Mon Sep 17 00:00:00 2001 From: Thomas Hindoe Paaboel Andersen Date: Wed, 16 Dec 2015 19:33:20 +0100 Subject: [PATCH] resolve: remove unused variable --- src/resolve/resolved-dns-cache.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/resolve/resolved-dns-cache.c b/src/resolve/resolved-dns-cache.c index 676fa08..62713b5 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; -- 2.7.4