]> git.ipfire.org Git - thirdparty/bind9.git/commit
Fix 'Dead nested assignment's from scan-build-10
authorOndřej Surý <ondrej@isc.org>
Wed, 25 Mar 2020 16:00:07 +0000 (17:00 +0100)
committerOndřej Surý <ondrej@isc.org>
Thu, 26 Mar 2020 12:42:35 +0000 (13:42 +0100)
commite3acfedbe3dcf3c2214d7c1fb5e2f3bc60a9957e
tree60eeb5cb1bc0f66e377496b6f3c0cd089dce7a11
parent969cb06e15beb3639941b5e432b670fd53a55d4a
Fix 'Dead nested assignment's from scan-build-10

The 1 warning reported is:

os.c:872:7: warning: Although the value stored to 'ptr' is used in the enclosing expression, the value is never actually read from 'ptr'
        if ((ptr = strtok_r(command, " \t", &last)) == NULL) {
             ^     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
bin/named/unix/os.c