diff --git a/bin/named/unix/os.c b/bin/named/unix/os.c index b1ac3b7773..c3b0bbee13 100644 --- a/bin/named/unix/os.c +++ b/bin/named/unix/os.c @@ -842,7 +842,7 @@ named_os_shutdownmsg(char *command, isc_buffer_t *text) { /* Skip the command name. */ - if ((ptr = strtok_r(command, " \t", &last)) == NULL) { + if (strtok_r(command, " \t", &last) == NULL) { return; }