]> 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:54:19 +0000 (10:54 +1100)
(cherry picked from commit e8249dcd49296c408c9358c05f3a969b81634e65)
(cherry picked from commit cdb6c5c106fed052f8695365900b625611515f72)

lib/isc/win32/win32os.c

index fa3372abc1b3f294c4bda392838c17c550347448..f6aeeb3465431be006c0ae002dccba576a98a736 100644 (file)
@@ -21,6 +21,7 @@
 #include <isc/win32os.h>
 #else
 #include <stdio.h>
+#include <isc/util.h>
 #endif
 #include <isc/print.h>
 
@@ -107,6 +108,7 @@ main(int argc, char **argv) {
        }
        if (argc > 1) {
                --argc;
+               POST(argc);
                ++argv;
                spminor = (unsigned int) atoi(argv[0]);
        }