Skip to content

Commit 9aeba3e

Browse files
committed
py/binary: Add missing "break" statements.
1 parent 80b31dc commit 9aeba3e

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

py/binary.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,7 @@ void mp_binary_set_val_array_from_int(char typecode, void *p, mp_uint_t index, m
368368
#if MICROPY_LONGINT_IMPL != MICROPY_LONGINT_IMPL_NONE
369369
case 'q':
370370
((long long*)p)[index] = val;
371+
break;
371372
case 'Q':
372373
((unsigned long long*)p)[index] = val;
373374
break;
@@ -383,5 +384,6 @@ void mp_binary_set_val_array_from_int(char typecode, void *p, mp_uint_t index, m
383384
// Extension to CPython: array of pointers
384385
case 'P':
385386
((void**)p)[index] = (void*)(uintptr_t)val;
387+
break;
386388
}
387389
}

0 commit comments

Comments
 (0)