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 /extmod/moduzlib.c | |
parent | 50912e7f5dc579fd2917537046793dfa30decadf (diff) |
py, unix: Allow to compile with -Wunused-parameter.
See issue #699.
Diffstat (limited to 'extmod/moduzlib.c')
-rw-r--r-- | extmod/moduzlib.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/extmod/moduzlib.c b/extmod/moduzlib.c index 680b5c1b8..821f300da 100644 --- a/extmod/moduzlib.c +++ b/extmod/moduzlib.c @@ -55,6 +55,7 @@ STATIC int mod_uzlib_grow_buf(TINF_DATA *d, unsigned alloc_req) { } STATIC mp_obj_t mod_uzlib_decompress(mp_uint_t n_args, const mp_obj_t *args) { + (void)n_args; mp_obj_t data = args[0]; mp_buffer_info_t bufinfo; mp_get_buffer_raise(data, &bufinfo, MP_BUFFER_READ); |