diff options
author | Vladimír Čunát <vladimir.cunat@nic.cz> | 2018-11-30 12:15:15 +0100 |
---|---|---|
committer | Tomas Krizek <tomas.krizek@nic.cz> | 2019-01-08 13:06:32 +0100 |
commit | 647803b3ad784104320fa2f4524e3ba470dbed08 (patch) | |
tree | d52d60b8ab242c09e37215b0f0412d14f9d45a6a /lib/zonecut.c | |
parent | Merge !739: daemon/tls: fix rare case of improperly handled rehandshake (diff) | |
download | knot-resolver-647803b3ad784104320fa2f4524e3ba470dbed08.tar.xz knot-resolver-647803b3ad784104320fa2f4524e3ba470dbed08.zip |
treewide nitpick: fix -Wshadow
None of these seemed to be errors, but it seems better to clear these.
Diffstat (limited to 'lib/zonecut.c')
-rw-r--r-- | lib/zonecut.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/zonecut.c b/lib/zonecut.c index 0148ae91..5e54d976 100644 --- a/lib/zonecut.c +++ b/lib/zonecut.c @@ -461,9 +461,9 @@ static int fetch_ns(struct kr_context *ctx, struct kr_zonecut *cut, || (aqpf->AWAIT_IPV6 && aq->stype == KNOT_RRTYPE_AAAA)) { if (knot_dname_in_bailiwick(ns_name, aq->parent->zone_cut.name)) { - for (int i = 0; i < 2; ++i) - if (infos[i] == AI_UNKNOWN) - infos[i] = AI_CYCLED; + for (int j = 0; j < 2; ++j) + if (infos[j] == AI_UNKNOWN) + infos[j] = AI_CYCLED; break; } } else { |