From 7fe16e2ed4704d32ae14fee06868a3c88a7e1c6c Mon Sep 17 00:00:00 2001 From: Gabor Kiss-Vamosi Date: Thu, 27 May 2021 11:52:10 +0200 Subject: [PATCH] fix warning --- examples/styles/lv_example_style_14.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/examples/styles/lv_example_style_14.c b/examples/styles/lv_example_style_14.c index 55145cad0..3f2981df8 100644 --- a/examples/styles/lv_example_style_14.c +++ b/examples/styles/lv_example_style_14.c @@ -8,6 +8,8 @@ static lv_style_t style_btn; to add new styles*/ static void new_theme_apply_cb(lv_theme_t * th, lv_obj_t * obj) { + LV_UNUSED(th); + if(lv_obj_check_type(obj, &lv_btn_class)) { lv_obj_add_style(obj, &style_btn, 0); }