Fix scan-build issue: initialized value never read

Value stored to 'source' during its initialization is never read.

(cherry picked from commit 4c33277446)
This commit is contained in:
Matthijs Mekking
2023-03-29 13:31:49 +00:00
parent 32768d9c94
commit 9874a26686
+1 -1
View File
@@ -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];