From e7bae9c3cd0d267ebac380e34ee1cd0c1e6cf740 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Mon, 23 Feb 2026 14:20:43 +0100 Subject: fix warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- test.c | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'test.c') diff --git a/test.c b/test.c index 7908dd4..21c0f27 100644 --- a/test.c +++ b/test.c @@ -214,7 +214,14 @@ hashx(unsigned char **msg, size_t msglen, size_t *msgsize, ssize_t r; int status; + (void) msgsize; + (void) testno; + (void) test_lineno; + (void) path; + if (keylen) { + (void) key; + (void) keysize; /* KEY OPTION IS NOT YET IMPLEMENTED */ *outlen = hashlen; if (*outsize < hashlen) { @@ -248,7 +255,7 @@ hashx(unsigned char **msg, size_t msglen, size_t *msgsize, ERROR("Internal test error: %s\n", strerror(errno)); close(output_pipe[1]); } - execv(argv[0], (void *const)argv); + execv(argv[0], *(char ***)(void *)&argv); ERROR("Internal test error: %s\n", strerror(errno)); /* $covered}$ */ -- cgit v1.2.3-70-g09d2