diff --git a/examples/others/imgfont/lv_example_imgfont_1.c b/examples/others/imgfont/lv_example_imgfont_1.c index 88f27289a..257305113 100644 --- a/examples/others/imgfont/lv_example_imgfont_1.c +++ b/examples/others/imgfont/lv_example_imgfont_1.c @@ -22,6 +22,7 @@ static bool get_imgfont_path(const lv_font_t * font, void * img_src, } else { char * path = (char *)img_src; + LV_UNUSED(path); #if LV_USE_FFMPEG lv_snprintf(path, len, "%s/%04X.png", "lvgl/examples/assets/emoji", unicode); #elif LV_USE_PNG