diff options
| author | Roy Hooper <rhooper@toybox.ca> | 2019-11-23 13:52:14 -0500 |
|---|---|---|
| committer | Roy Hooper <rhooper@toybox.ca> | 2019-11-23 13:52:14 -0500 |
| commit | a9baa441c94bf4ba9fe676a34e8a47fee6001559 (patch) | |
| tree | 05f914a9697010523cfcacf807cee99318eb910b /extmod/moductypes.c | |
| parent | 75e1e7da4b2cae6adae2b3e12ec4fb6de628598d (diff) | |
disable -Wunused-parameter on subscr functions
Diffstat (limited to 'extmod/moductypes.c')
| -rw-r--r-- | extmod/moductypes.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/extmod/moductypes.c b/extmod/moductypes.c index 2165152ea..722f4bb87 100644 --- a/extmod/moductypes.c +++ b/extmod/moductypes.c @@ -518,6 +518,7 @@ STATIC void uctypes_struct_attr(mp_obj_t self_in, qstr attr, mp_obj_t *dest) { } } +#pragma GCC diagnostic ignored "-Wunused-parameter" STATIC mp_obj_t uctypes_struct_subscr(mp_obj_t self_in, mp_obj_t index_in, mp_obj_t value, mp_obj_t instance) { mp_obj_uctypes_struct_t *self = MP_OBJ_TO_PTR(self_in); |
