Skip to content
Snippets Groups Projects
Commit 91e93a96 authored by Paul Sokolovsky's avatar Paul Sokolovsky
Browse files

extmod/moduzlib: decompress: Remove stale "(void)n_args".

n_args is now actually used in this function.
parent c4e3a03f
Branches
Tags
No related merge requests found
...@@ -143,7 +143,6 @@ STATIC const mp_obj_type_t decompio_type = { ...@@ -143,7 +143,6 @@ STATIC const mp_obj_type_t decompio_type = {
}; };
STATIC mp_obj_t mod_uzlib_decompress(size_t n_args, const mp_obj_t *args) { STATIC mp_obj_t mod_uzlib_decompress(size_t n_args, const mp_obj_t *args) {
(void)n_args;
mp_obj_t data = args[0]; mp_obj_t data = args[0];
mp_buffer_info_t bufinfo; mp_buffer_info_t bufinfo;
mp_get_buffer_raise(data, &bufinfo, MP_BUFFER_READ); mp_get_buffer_raise(data, &bufinfo, MP_BUFFER_READ);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment