From c7ab35613eea1b5e66f499ad42f237d2629d4bbf Mon Sep 17 00:00:00 2001 From: orbitcowboy Date: Thu, 21 Apr 2022 09:10:13 +0200 Subject: [PATCH] posix.cfg: Cleanup test case. --- test/cfg/posix.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/cfg/posix.c b/test/cfg/posix.c index f5a79b346..0557c2dc1 100644 --- a/test/cfg/posix.c +++ b/test/cfg/posix.c @@ -48,7 +48,7 @@ int nullPointer_wcsnlen(const wchar_t *s, size_t n) return wcsnlen(s, n); } -size_t bufferAccessOutOfBounds_wcsnlen(const wchar_t *s, size_t maxlen) +size_t bufferAccessOutOfBounds_wcsnlen(void) // #10997 { wchar_t buf[2]={L'4',L'2'}; size_t len = wcsnlen(buf,2);