From 39eb73060bb8133e5337b73114088737298f0814 Mon Sep 17 00:00:00 2001 From: Christi Scarborough Date: Sat, 5 Feb 2005 20:14:57 +0000 Subject: [PATCH] fix compiler warnings git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5800 a1c6a512-1295-4272-9138-f99709370657 --- apps/tree.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/apps/tree.c b/apps/tree.c index 02899f87ca..2fd91db182 100644 --- a/apps/tree.c +++ b/apps/tree.c @@ -434,9 +434,11 @@ static bool ask_resume(bool ask_once) default_event_handler(SYS_USB_CONNECTED); return false; } - + +#ifdef HAVE_ALARM_MOD if ( rtc_check_alarm_started(true) ) return true; +#endif /* always resume? */ if ( global_settings.resume == RESUME_ON)