diff options
Diffstat (limited to 'extmod')
| -rw-r--r-- | extmod/modujson.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/extmod/modujson.c b/extmod/modujson.c index 515606b70..3bb4b3301 100644 --- a/extmod/modujson.c +++ b/extmod/modujson.c @@ -85,6 +85,7 @@ STATIC byte ujson_stream_next(ujson_stream_t *s) { #define CIRCUITPY_JSON_READ_CHUNK_SIZE 64 STATIC mp_uint_t ujson_python_readinto(mp_obj_t obj, void *buf, mp_uint_t size, int *errcode) { + (void) size; // Ignore size because we know it's always 1. ujson_stream_t* s = obj; if (s->start == s->end) { |
