Commit bac4eec7 authored by Jan Včelák's avatar Jan Včelák 🚀
Browse files

clang-analyzer: remove dead variable

parent 62c29057
......@@ -259,12 +259,10 @@ static int search_key(dnssec_list_t *list, const char *search,
assert(match);
int keytag = search_str_to_keytag(search);
bool found = false;
dnssec_list_foreach(item, list) {
dnssec_kasp_key_t *key = dnssec_item_get(item);
if (key_match(key->key, keytag, search)) {
found = true;
int r = match(key, data);
if (r != DNSSEC_EOK) {
return r;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment