From ff8dd3f486afb0d6ff1427d8a6a8a8ed73baa660 Mon Sep 17 00:00:00 2001 From: Damien George Date: Tue, 20 Jan 2015 12:47:20 +0000 Subject: py, unix: Allow to compile with -Wunused-parameter. See issue #699. --- py/pfenv_printf.c | 1 + 1 file changed, 1 insertion(+) (limited to 'py/pfenv_printf.c') diff --git a/py/pfenv_printf.c b/py/pfenv_printf.c index a68788a7f..d4c5fc9df 100644 --- a/py/pfenv_printf.c +++ b/py/pfenv_printf.c @@ -196,6 +196,7 @@ int pfenv_printf(const pfenv_t *pfenv, const char *fmt, ...) { } void printf_wrapper(void *env, const char *fmt, ...) { + (void)env; va_list args; va_start(args, fmt); vprintf(fmt, args); -- cgit v1.2.3