resolved: cast dns_scope_get_dns_server() to NULL when we ignore it

This commit is contained in:
Lennart Poettering 2017-12-08 19:50:51 +01:00
parent 44db02d0ef
commit 5cdb8930e0
1 changed files with 1 additions and 1 deletions

View File

@ -1362,7 +1362,7 @@ static int dns_transaction_prepare(DnsTransaction *t, usec_t ts) {
/* Before trying the cache, let's make sure we figured out a
* server to use. Should this cause a change of server this
* might flush the cache. */
dns_scope_get_dns_server(t->scope);
(void) dns_scope_get_dns_server(t->scope);
/* Let's then prune all outdated entries */
dns_cache_prune(&t->scope->cache);