Merge branch '3965-source-never-read-master.c' into 'main'
Fix scan-build issue: initialized value never read Closes #3965 See merge request isc-projects/bind9!7725
This commit is contained in:
3
CHANGES
3
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]
|
||||
|
||||
@@ -1043,7 +1043,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];
|
||||
|
||||
Reference in New Issue
Block a user