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/builtinevex.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/builtinevex.c')
-rw-r--r-- | py/builtinevex.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/py/builtinevex.c b/py/builtinevex.c index 9bca4a0f53..85ffbf4e65 100644 --- a/py/builtinevex.c +++ b/py/builtinevex.c @@ -75,6 +75,8 @@ STATIC mp_obj_t code_execute(mp_obj_code_t *self, mp_obj_t globals, mp_obj_t loc } STATIC mp_obj_t mp_builtin_compile(mp_uint_t n_args, const mp_obj_t *args) { + (void)n_args; + // get the source mp_uint_t str_len; const char *str = mp_obj_str_get_data(args[0], &str_len); |