extmod/modutimeq: Fix warning about unused param.
This commit is contained in:
parent
64b1d5f878
commit
1b44987d0c
@ -117,6 +117,7 @@ STATIC void heap_siftup(mp_obj_utimeq_t *heap, mp_uint_t pos) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
STATIC mp_obj_t mod_utimeq_heappush(size_t n_args, const mp_obj_t *args) {
|
STATIC mp_obj_t mod_utimeq_heappush(size_t n_args, const mp_obj_t *args) {
|
||||||
|
(void)n_args;
|
||||||
mp_obj_t heap_in = args[0];
|
mp_obj_t heap_in = args[0];
|
||||||
mp_obj_utimeq_t *heap = get_heap(heap_in);
|
mp_obj_utimeq_t *heap = get_heap(heap_in);
|
||||||
if (heap->len == heap->alloc) {
|
if (heap->len == heap->alloc) {
|
||||||
|
Loading…
Reference in New Issue
Block a user