Merge branch '3965-source-never-read-master.c-v9_16' into 'bind-9.16'

[9.16] Fix scan-build issue: initialized value never read

See merge request isc-projects/bind9!7739
This commit is contained in:
Matthijs Mekking
2023-03-29 15:09:21 +00:00
2 changed files with 4 additions and 1 deletions
+3
View File
@@ -1,3 +1,6 @@
6129. [cleanup] Value stored to 'source' during its initialization is
never read. [GL #3965]
6124. [bug] When changing from a NSEC3 capable DNSSEC algorithm to
an NSEC3 incapable DNSSEC algorithm using KASP the zone
could sometimes be incompletely signed. [GL #3937]
+1 -1
View File
@@ -1101,7 +1101,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];