Fix -Wshadow
@@ -1384,9 +1384,9 @@ log_rpz_apply(char* trigger, uint8_t* dname, struct addr_tree_node* addrnode,
if(dname) {
dname_str(dname, dnamestr);
} else if(addrnode) {
- char a[128];
- addr_to_str(&addrnode->addr, addrnode->addrlen, a, sizeof(a));
- snprintf(dnamestr, sizeof(dnamestr), "%s/%d", a, addrnode->net);
+ char addrbuf[128];
+ addr_to_str(&addrnode->addr, addrnode->addrlen, addrbuf, sizeof(addrbuf));
+ snprintf(dnamestr, sizeof(dnamestr), "%s/%d", addrbuf, addrnode->net);
} else {
dnamestr[0]=0;
}
