diff --git a/CHANGES b/CHANGES index 8b3a4bae05..cce897346c 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,6 @@ +6129. [cleanup] Value stored to 'source' during its initialization is + never read. [GL #3965] + 6128. [bug] Fix an omission in an earlier commit to avoid a race between the 'dns__catz_update_cb()' and 'dns_catz_dbupdate_callback()' functions. [GL #3968] diff --git a/lib/dns/master.c b/lib/dns/master.c index 2e91301437..97b93434db 100644 --- a/lib/dns/master.c +++ b/lib/dns/master.c @@ -1090,7 +1090,7 @@ load_text(dns_loadctx_t *lctx) { char *lhs = NULL; char *gtype = NULL; char *rhs = NULL; - const char *source = ""; + const char *source; unsigned long line = 0; bool explicit_ttl; char classname1[DNS_RDATACLASS_FORMATSIZE];