extmod/modutimeq: Fix warning about unused param.

This commit is contained in:
Paul Sokolovsky 2016-12-22 00:48:19 +03:00
parent 64b1d5f878
commit 1b44987d0c

View File

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