commit | ff8dd3f486afb0d6ff1427d8a6a8a8ed73baa660 | [log] [tgz] |
---|---|---|
author | Damien George <damien.p.george@gmail.com> | Tue Jan 20 12:47:20 2015 +0000 |
committer | Damien George <damien.p.george@gmail.com> | Tue Jan 20 12:47:20 2015 +0000 |
tree | 16b54a843a312757976e15f24f413e00e151fbe2 | |
parent | 50912e7f5dc579fd2917537046793dfa30decadf [diff] [blame] |
py, unix: Allow to compile with -Wunused-parameter. See issue #699.
diff --git a/py/objbool.c b/py/objbool.c index 6dd9e7f..d60dc8c 100644 --- a/py/objbool.c +++ b/py/objbool.c
@@ -53,6 +53,7 @@ } STATIC mp_obj_t bool_make_new(mp_obj_t type_in, mp_uint_t n_args, mp_uint_t n_kw, const mp_obj_t *args) { + (void)type_in; mp_arg_check_num(n_args, n_kw, 0, 1, false); switch (n_args) {