diff options
Diffstat (limited to 'apps')
-rw-r--r-- | apps/main.c | 2 | ||||
-rw-r--r-- | apps/screen_access.c | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/apps/main.c b/apps/main.c index ae666adc06..a6178829b8 100644 --- a/apps/main.c +++ b/apps/main.c | |||
@@ -336,7 +336,9 @@ static void init_tagcache(void) | |||
336 | 336 | ||
337 | static void init(void) | 337 | static void init(void) |
338 | { | 338 | { |
339 | #ifdef HAVE_LCD_BITMAP | ||
339 | int i; | 340 | int i; |
341 | #endif | ||
340 | system_init(); | 342 | system_init(); |
341 | core_allocator_init(); | 343 | core_allocator_init(); |
342 | kernel_init(); | 344 | kernel_init(); |
diff --git a/apps/screen_access.c b/apps/screen_access.c index 0b206a668a..f9c2fbbbe3 100644 --- a/apps/screen_access.c +++ b/apps/screen_access.c | |||
@@ -69,6 +69,7 @@ static int screen_helper_getnblines(void) | |||
69 | 69 | ||
70 | void screen_helper_setfont(int font) | 70 | void screen_helper_setfont(int font) |
71 | { | 71 | { |
72 | (int)font; | ||
72 | #ifdef HAVE_LCD_BITMAP | 73 | #ifdef HAVE_LCD_BITMAP |
73 | if (font == FONT_UI) | 74 | if (font == FONT_UI) |
74 | font = global_status.font_id[SCREEN_MAIN]; | 75 | font = global_status.font_id[SCREEN_MAIN]; |