summaryrefslogtreecommitdiff
path: root/services/cache/dns.c
diff options
context:
space:
mode:
Diffstat (limited to 'services/cache/dns.c')
-rw-r--r--services/cache/dns.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/services/cache/dns.c b/services/cache/dns.c
index 764205e53cbe..da43c504dfa3 100644
--- a/services/cache/dns.c
+++ b/services/cache/dns.c
@@ -99,6 +99,9 @@ store_rrsets(struct module_env* env, struct reply_info* rep, time_t now,
}
}
/* no break: also copy key item */
+ /* the line below is matched by gcc regex and silences
+ * the fallthrough warning */
+ /* fallthrough */
case 1: /* ref updated, item inserted */
rep->rrsets[i] = rep->ref[i].key;
}