From 9874a266865676166324fa15767440d3f6125838 Mon Sep 17 00:00:00 2001 From: Matthijs Mekking Date: Mon, 27 Mar 2023 11:54:00 +0200 Subject: [PATCH] Fix scan-build issue: initialized value never read Value stored to 'source' during its initialization is never read. (cherry picked from commit 4c33277446704381300920db50a88c56c17e29a9) --- lib/dns/master.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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];