[openssh-commits] [openssh] 02/02: main(void) to prevent unused variable warning.

git+noreply at mindrot.org git+noreply at mindrot.org
Tue May 9 19:27:29 AEST 2023


This is an automated email from the git hooks/post-receive script.

dtucker pushed a commit to branch master
in repository openssh.

commit fbf362b3891ae4b36052d1b39f37fc618b41c476
Author: Darren Tucker <dtucker at dtucker.net>
Date:   Tue May 9 19:26:56 2023 +1000

    main(void) to prevent unused variable warning.
---
 openbsd-compat/regress/strtonumtest.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/openbsd-compat/regress/strtonumtest.c b/openbsd-compat/regress/strtonumtest.c
index 46bd2b91..d55cb0ff 100644
--- a/openbsd-compat/regress/strtonumtest.c
+++ b/openbsd-compat/regress/strtonumtest.c
@@ -57,7 +57,7 @@ test(const char *p, long long lb, long long ub, int ok)
 	}
 }
 
-int main(int argc, char *argv[])
+int main(void)
 {
 	test("1", 0, 10, 1);
 	test("0", -2, 5, 1);

-- 
To stop receiving notification emails like this one, please contact
djm at mindrot.org.


More information about the openssh-commits mailing list