Commit bef5defc authored by Mark Karpilovskij's avatar Mark Karpilovskij

module: Coverity fixes

parent e7170410
......@@ -70,7 +70,7 @@ int parse_geodb_path(geodb_path_t *path, const char *input)
input = delim + 1;
}
return (len == 0) ? -1 : 0;
return 0;
}
int parse_geodb_data(const char *input, void **geodata, uint32_t *geodata_len,
......
......@@ -596,7 +596,6 @@ int knotd_mod_dnssec_sign_rrset(knotd_mod_t *mod, knot_rrset_t *rrsigs,
int ret = knot_sign_rrset(rrsigs, rrset, key->key, key->ctx,
mod->dnssec, mm);
if (ret != KNOT_EOK) {
knot_rrset_free(rrsigs, NULL);
return ret;
}
}
......
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