]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
silence unread assignment warning by using POST macro
authorMark Andrews <marka@isc.org>
Tue, 20 Feb 2018 01:57:29 +0000 (12:57 +1100)
committerMark Andrews <marka@isc.org>
Sun, 25 Feb 2018 23:40:10 +0000 (10:40 +1100)
(cherry picked from commit e8249dcd49296c408c9358c05f3a969b81634e65)

lib/isc/win32/win32os.c

index 161c304c1cbca1507cb63a3d0f968d0b54231ac2..136b653d4879b33b325a0a8cb1ea89a6793e19d7 100644 (file)
@@ -12,6 +12,7 @@
 #include <isc/win32os.h>
 #else
 #include <stdio.h>
+#include <isc/util.h>
 #endif
 #include <isc/print.h>
 
@@ -98,6 +99,7 @@ main(int argc, char **argv) {
        }
        if (argc > 1) {
                --argc;
+               POST(argc);
                ++argv;
                spminor = (unsigned int) atoi(argv[0]);
        }