]> 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)
committerEvan Hunt <each@isc.org>
Sun, 25 Feb 2018 01:50:41 +0000 (17:50 -0800)
lib/isc/win32/win32os.c

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