silence unread assignment warning by using POST macro

(cherry picked from commit e8249dcd49)
(cherry picked from commit cdb6c5c106)
This commit is contained in:
Mark Andrews
2018-02-20 12:57:29 +11:00
parent 750467e284
commit e76df9d04f

View 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]);
}