diff options
author | Damien George <damien.p.george@gmail.com> | 2015-01-20 12:47:20 +0000 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2015-01-20 12:47:20 +0000 |
commit | ff8dd3f486afb0d6ff1427d8a6a8a8ed73baa660 (patch) | |
tree | 16b54a843a312757976e15f24f413e00e151fbe2 /py/pfenv_printf.c | |
parent | 50912e7f5dc579fd2917537046793dfa30decadf (diff) | |
download | micropython-ff8dd3f486afb0d6ff1427d8a6a8a8ed73baa660.tar.gz micropython-ff8dd3f486afb0d6ff1427d8a6a8a8ed73baa660.zip |
py, unix: Allow to compile with -Wunused-parameter.
See issue #699.
Diffstat (limited to 'py/pfenv_printf.c')
-rw-r--r-- | py/pfenv_printf.c | 1 |
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); |