From: Matthijs Mekking Date: Mon, 27 Mar 2023 09:54:00 +0000 (+0200) Subject: Fix scan-build issue: initialized value never read X-Git-Tag: v9.16.40~9^2~1 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=89c000f356277e7fc27ca3d86ca804da0249e38d;p=thirdparty%2Fbind9.git Fix scan-build issue: initialized value never read Value stored to 'source' during its initialization is never read. (cherry picked from commit 4c33277446704381300920db50a88c56c17e29a9) --- diff --git a/lib/dns/master.c b/lib/dns/master.c index 36f63052938..fc561076c5b 100644 --- a/lib/dns/master.c +++ b/lib/dns/master.c @@ -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];