aboutsummaryrefslogtreecommitdiff
path: root/py/builtinevex.c
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2015-01-20 12:47:20 +0000
committerDamien George <damien.p.george@gmail.com>2015-01-20 12:47:20 +0000
commitff8dd3f486afb0d6ff1427d8a6a8a8ed73baa660 (patch)
tree16b54a843a312757976e15f24f413e00e151fbe2 /py/builtinevex.c
parent50912e7f5dc579fd2917537046793dfa30decadf (diff)
py, unix: Allow to compile with -Wunused-parameter.
See issue #699.
Diffstat (limited to 'py/builtinevex.c')
-rw-r--r--py/builtinevex.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/py/builtinevex.c b/py/builtinevex.c
index 9bca4a0f5..85ffbf4e6 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);