diff --git a/apps/gui/skin_engine/skin_display.c b/apps/gui/skin_engine/skin_display.c index 4e264b0489..9f310073cb 100644 --- a/apps/gui/skin_engine/skin_display.c +++ b/apps/gui/skin_engine/skin_display.c @@ -476,6 +476,7 @@ static bool evaluate_conditional(struct gui_wps *gwps, int *token_index) return true; } +#ifdef HAVE_LCD_BITMAP struct gui_img* find_image(int n, struct wps_data *data) { struct skin_token_list *list = data->images; @@ -487,7 +488,8 @@ struct gui_img* find_image(int n, struct wps_data *data) list = list->next; } return NULL; -} +} +#endif /* Read a (sub)line to the given alignment format buffer. diff --git a/apps/gui/skin_engine/skin_parser.c b/apps/gui/skin_engine/skin_parser.c index 4445ee86c3..56e9e2b897 100644 --- a/apps/gui/skin_engine/skin_parser.c +++ b/apps/gui/skin_engine/skin_parser.c @@ -884,6 +884,7 @@ static int parse_progressbar(const char *wps_bufptr, /* Skip the rest of the line */ return skip_end_of_line(wps_bufptr)-1; #else + (void)token; if (*(wps_bufptr-1) == 'f') wps_data->full_line_progressbar = true;