From: Nick Bowler Date: Sat, 5 Mar 2022 21:32:48 +0000 (-0500) Subject: Fix boardmove testcase typo. X-Git-Url: http://git.draconx.ca/gitweb/rrace.git/commitdiff_plain/e97eb9f9d8098ed0e5685192a7a71e430faaa906 Fix boardmove testcase typo. Comparing "if (argv > 0)" is an obvious typo, totally invalid and bogus. Weirdly GCC fails to complain without "-pedantic", but HP-UX cc is happy to inform us about the error. --- diff --git a/t/boardmove.c b/t/boardmove.c index 89b3460..089f7b8 100644 --- a/t/boardmove.c +++ b/t/boardmove.c @@ -46,7 +46,7 @@ int main(int argc, char **argv) const char *seq; int i = 0; - if (argv > 0) + if (argc > 0) progname = argv[0]; if (argc != 2) {