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

Commit 4c33277

Browse files
committed
Fix scan-build issue: initialized value never read
Value stored to 'source' during its initialization is never read.
1 parent 91c4792 commit 4c33277

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)