summaryrefslogtreecommitdiff
path: root/test/hanoi.c
diff options
context:
space:
mode:
authorLorry Tar Creator <lorry-tar-importer@lorry>2021-10-20 23:22:45 +0000
committerLorry Tar Creator <lorry-tar-importer@lorry>2021-10-20 23:22:45 +0000
commit332fa27640b1901ac632e6d37a4aa9643d0f8594 (patch)
treebfb5303e24d1cd4ddd22df12f45a013fefb9ca23 /test/hanoi.c
parentff448436b2b70771d09b8d5ff34a509dcf02f81b (diff)
downloadncurses-master.tar.gz
Diffstat (limited to 'test/hanoi.c')
-rw-r--r--test/hanoi.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/hanoi.c b/test/hanoi.c
index 8f1792d..610b2d8 100644
--- a/test/hanoi.c
+++ b/test/hanoi.c
@@ -1,5 +1,5 @@
/****************************************************************************
- * Copyright 2019,2020 Thomas E. Dickey *
+ * Copyright 2019-2020,2021 Thomas E. Dickey *
* Copyright 1998-2014,2017 Free Software Foundation, Inc. *
* *
* Permission is hereby granted, free of charge, to any person obtaining a *
@@ -42,7 +42,7 @@
*
* Date: 05.Nov.90
*
- * $Id: hanoi.c,v 1.41 2020/02/02 23:34:34 tom Exp $
+ * $Id: hanoi.c,v 1.42 2021/05/08 20:44:44 tom Exp $
*/
#include <test.priv.h>
@@ -283,7 +283,7 @@ main(int argc, char **argv)
}
setlocale(LC_ALL, "");
- switch (ch = (argc - optind)) {
+ switch (argc - optind) {
case 2:
if (strcmp(argv[optind + 1], "a")) {
usage();