Skip to content
This repository was archived by the owner on Aug 13, 2025. It is now read-only.

Commit a8fbdbe

Browse files
committed
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
2 parents 91c4792 + 357b27b commit a8fbdbe

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

CHANGES

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
6129. [cleanup] Value stored to 'source' during its initialization is
2+
never read. [GL #3965]
3+
14
6128. [bug] Fix an omission in an earlier commit to avoid a race
25
between the 'dns__catz_update_cb()' and
36
'dns_catz_dbupdate_callback()' functions. [GL #3968]

lib/dns/master.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1043,7 +1043,7 @@ load_text(dns_loadctx_t *lctx) {
10431043
char *lhs = NULL;
10441044
char *gtype = NULL;
10451045
char *rhs = NULL;
1046-
const char *source = "";
1046+
const char *source;
10471047
unsigned long line = 0;
10481048
bool explicit_ttl;
10491049
char classname1[DNS_RDATACLASS_FORMATSIZE];

0 commit comments

Comments
 (0)