Ignore size parameter

This commit is contained in:
Scott Shawcroft 2020-11-23 12:14:58 -08:00
parent 123210a989
commit 368fa88312
No known key found for this signature in database
GPG Key ID: 0DFD512649C052DA
1 changed files with 1 additions and 0 deletions

View File

@ -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) {