summaryrefslogtreecommitdiffstatshomepage
path: root/py/pfenv_printf.c
diff options
context:
space:
mode:
Diffstat (limited to 'py/pfenv_printf.c')
-rw-r--r--py/pfenv_printf.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/pfenv_printf.c b/py/pfenv_printf.c
index a68788a7f6..d4c5fc9df5 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);