summaryrefslogtreecommitdiffstatshomepage
path: root/py
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2016-01-21 00:10:33 +0000
committerDamien George <damien.p.george@gmail.com>2016-04-18 15:09:34 +0100
commit238b5f5f891838de04faa1bd0718c069e14cc1fa (patch)
tree3bc162b1d6db76c386ed0e8b40486b4af3a1ca0d /py
parentc23a2eabf5e22ca7d3a07dbbe6dae62025558e5b (diff)
downloadmicropython-238b5f5f891838de04faa1bd0718c069e14cc1fa.tar.gz
micropython-238b5f5f891838de04faa1bd0718c069e14cc1fa.zip
py/emitglue: Suppress warning for unused parameter.
Diffstat (limited to 'py')
-rw-r--r--py/emitglue.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/emitglue.c b/py/emitglue.c
index d2baaa8459..e327d9d0cb 100644
--- a/py/emitglue.c
+++ b/py/emitglue.c
@@ -83,6 +83,7 @@ void mp_emit_glue_assign_bytecode(mp_raw_code_t *rc, const byte *code, mp_uint_t
uint16_t n_obj, uint16_t n_raw_code,
#endif
mp_uint_t scope_flags) {
+ (void)len; // possibly unused
rc->kind = MP_CODE_BYTECODE;
rc->scope_flags = scope_flags;