From 716730efa87ea26b22af7398514a7f27eaf834db Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jean-Philippe=20Bruy=C3=A8re?= Date: Wed, 26 Jan 2022 00:23:23 +0100 Subject: [PATCH] typo --- tests/common/test.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/common/test.c b/tests/common/test.c index 48598ca..6271063 100644 --- a/tests/common/test.c +++ b/tests/common/test.c @@ -262,7 +262,7 @@ void _print_details_and_exit(void) { void _parse_args (int argc, char* argv[]) { int opt = 0; bool printTestDetailsAndExit = false; - while (opt = getopt(argc, argv, "+c:df:g:i:j:l:n:opqS:s:v:w:x:y:") != -1) { + while ((opt = getopt(argc, argv, "+c:df:g:i:j:l:n:opqS:s:v:w:x:y:")) != -1) { switch (opt) { case 'c': switch (optarg[0]) { -- 2.47.3