]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
resolve: remove unused variable 2180/head
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Wed, 16 Dec 2015 18:33:20 +0000 (19:33 +0100)
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Wed, 16 Dec 2015 18:59:45 +0000 (19:59 +0100)
src/resolve/resolved-dns-cache.c

index 676fa08ffb5a15cd21497c5bfe7b3e614191ceda..62713b5a6a307077f677a40f31e250918185409c 100644 (file)
@@ -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;