diff --git a/csrc/u8g2_ll_hvline.c b/csrc/u8g2_ll_hvline.c index 59ab4d17..72d7c0c8 100644 --- a/csrc/u8g2_ll_hvline.c +++ b/csrc/u8g2_ll_hvline.c @@ -77,6 +77,7 @@ void u8g2_ll_hvline_vertical_top_lsb(u8g2_t *u8g2, u8g2_uint_t x, u8g2_uint_t y, uint8_t or_mask, xor_mask; #ifdef __unix uint8_t *max_ptr = u8g2->tile_buf_ptr + u8g2_GetU8x8(u8g2)->display_info->tile_width*u8g2->tile_buf_height*8; + (void)max_ptr; /* silence unused variable warning if asserts are disabled */ #endif //assert(x >= u8g2->buf_x0);