1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-30 14:55:37 +03:00

resolve: fix false maybe-uninitialized warning

This commit is contained in:
Yu Watanabe 2022-05-07 01:39:20 +09:00
parent 388c92ce09
commit d1b8e56a62

View File

@ -989,8 +989,9 @@ int dnssec_verify_rrset(
DnsResourceRecord **list, *rr;
const char *source, *name;
size_t n = 0, sig_size;
_cleanup_free_ char *sig_data = NULL;
size_t sig_size = 0; /* avoid false maybe-uninitialized warning */
size_t n = 0;
bool wildcard;
int r;