summaryrefslogtreecommitdiffstats
path: root/src/resolve/resolved-dns-question.c
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2024-10-07 05:47:57 +0200
committerDaan De Meyer <daan.j.demeyer@gmail.com>2024-10-07 09:51:37 +0200
commitf769518c9ac6ca6bef063092ddc0e1718a67f540 (patch)
tree2bf69333b29b19c03b9b6e02df1a66c055e116a2 /src/resolve/resolved-dns-question.c
parentnetwork: use Network.name for bus path (diff)
downloadsystemd-f769518c9ac6ca6bef063092ddc0e1718a67f540.tar.xz
systemd-f769518c9ac6ca6bef063092ddc0e1718a67f540.zip
tree-wide: drop doubled empty lines
Diffstat (limited to 'src/resolve/resolved-dns-question.c')
-rw-r--r--src/resolve/resolved-dns-question.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/resolve/resolved-dns-question.c b/src/resolve/resolved-dns-question.c
index 18e2fe2485..6832a4766c 100644
--- a/src/resolve/resolved-dns-question.c
+++ b/src/resolve/resolved-dns-question.c
@@ -73,7 +73,6 @@ int dns_question_add(DnsQuestion *q, DnsResourceKey *key, DnsQuestionFlags flags
if (!q)
return -ENOSPC;
-
DNS_QUESTION_FOREACH_ITEM(item, q) {
r = dns_resource_key_equal(item->key, key);
if (r < 0)
@@ -185,7 +184,6 @@ int dns_question_contains_key(DnsQuestion *q, const DnsResourceKey *k) {
if (!q)
return 0;
-
for (j = 0; j < q->n_keys; j++) {
r = dns_resource_key_equal(q->items[j].key, k);
if (r != 0)