}
else {
msg_warn_map ("duplicate radix entry found for map %s: %s (old value: '%s', new: '%s')",
- map->name, key, kh_value (r->htb, k), val);
+ map->name, key, val->value, value);
}
nk = kh_key (r->htb, k).begin;
}
else {
msg_warn_map ("duplicate hash entry found for map %s: %s (old value: '%s', new: '%s')",
- map->name, key, kh_value (ht->htb, k), val);
+ map->name, key, val->value, value);
}
}
/* Always warn about regexp duplicate as it's likely a bad mistake */
msg_warn_map ("duplicate re entry found for map %s: %s (old value: '%s', new: '%s')",
- map->name, key, kh_value (re_map->htb, k)->value, val);
+ map->name, key, val->value, value);
- if (strcmp (kh_value (re_map->htb, k)->value, val->value) == 0) {
+ if (strcmp (val->value, value) == 0) {
/* Same value, skip */
return;
}