1 parent 123210a commit 368fa88Copy full SHA for 368fa88
1 file changed
extmod/modujson.c
@@ -85,6 +85,7 @@ STATIC byte ujson_stream_next(ujson_stream_t *s) {
85
#define CIRCUITPY_JSON_READ_CHUNK_SIZE 64
86
87
STATIC mp_uint_t ujson_python_readinto(mp_obj_t obj, void *buf, mp_uint_t size, int *errcode) {
88
+ (void) size; // Ignore size because we know it's always 1.
89
ujson_stream_t* s = obj;
90
91
if (s->start == s->end) {
0 commit comments