summaryrefslogtreecommitdiff
path: root/apps/plugins/calendar.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/calendar.c')
-rw-r--r--apps/plugins/calendar.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/plugins/calendar.c b/apps/plugins/calendar.c
index f3ee8d82db..b501115618 100644
--- a/apps/plugins/calendar.c
+++ b/apps/plugins/calendar.c
@@ -71,6 +71,8 @@ static void calendar_init(struct today *today, struct shown *shown)
71 int w,h; 71 int w,h;
72#ifdef HAVE_RTC 72#ifdef HAVE_RTC
73 struct tm *tm; 73 struct tm *tm;
74#else
75 (void)today;
74#endif 76#endif
75 rb->lcd_getstringsize("A",&w,&h); 77 rb->lcd_getstringsize("A",&w,&h);
76 if ( ((w * 14) > LCD_WIDTH) || ((h * 7) > LCD_HEIGHT) ) 78 if ( ((w * 14) > LCD_WIDTH) || ((h * 7) > LCD_HEIGHT) )