]> git.ipfire.org Git - thirdparty/bind9.git/commit
named: remove named_g_defaultdnstap global variable
authorOndřej Surý <ondrej@sury.org>
Thu, 31 Oct 2019 11:46:32 +0000 (06:46 -0500)
committerOndřej Surý <ondrej@sury.org>
Mon, 4 Nov 2019 15:15:22 +0000 (16:15 +0100)
commit6decd145926387347216f5a9ecbf8ca4593d11be
tree744598a7ad35b9f67292de47f960d899ef7dedcb
parent64cf5144a6873345877f9e18cca980474bf4e78d
named: remove named_g_defaultdnstap global variable

The named_g_defaultdnstap was never used as the dnstap requires
explicit configuration of the output file.

Related scan-build report:

./server.c:3476:14: warning: Value stored to 'dpath' during its initialization is never read
        const char *dpath = named_g_defaultdnstap;
                    ^~~~~   ~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
bin/named/include/named/globals.h
bin/named/server.c
bin/named/win32/os.c