]> 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>
Tue, 5 Nov 2019 08:52:52 +0000 (09:52 +0100)
commitd37400946456313cc708dcd0fa6fe7e93892d5d0
tree2182d76c2e122bba05408c0172edf8b8b9ec71c9
parent9d0882168a50cb820c469ab6704499f5e5c3fedb
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.

(cherry picked from commit 6decd145926387347216f5a9ecbf8ca4593d11be)
bin/named/include/named/globals.h
bin/named/server.c
bin/named/win32/os.c