diff options
| author | Damien George | 2015-09-04 16:53:46 +0100 |
|---|---|---|
| committer | Damien George | 2015-09-04 16:53:46 +0100 |
| commit | 3a2171e4061f3a6e3f00c28edf78ff9473355887 (patch) | |
| tree | 255882baafabc810789d532d244bd9a30e298bb9 /py/objarray.c | |
| parent | 42cec5c893c4055c9c3a4b224bbf65bf0dfd9f49 (diff) | |
py: Eliminate some cases which trigger unused parameter warnings.
Diffstat (limited to 'py/objarray.c')
| -rw-r--r-- | py/objarray.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/py/objarray.c b/py/objarray.c index f5ea79404..3f432f00b 100644 --- a/py/objarray.c +++ b/py/objarray.c @@ -488,6 +488,8 @@ STATIC mp_int_t array_get_buffer(mp_obj_t o_in, mp_buffer_info_t *bufinfo, mp_ui } bufinfo->buf = (uint8_t*)bufinfo->buf + (mp_uint_t)o->free * sz; } + #else + (void)flags; #endif return 0; } |
