summaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorChristi Scarborough <christi@coraline.org>2005-02-05 20:14:57 +0000
committerChristi Scarborough <christi@coraline.org>2005-02-05 20:14:57 +0000
commit39eb73060bb8133e5337b73114088737298f0814 (patch)
tree0520057aaecdec84f4f9ff386154bda5b5280778 /apps
parenteeed057b8b1478cd863d36089b4a21dc4a95d6aa (diff)
downloadrockbox-39eb73060bb8133e5337b73114088737298f0814.zip
rockbox-39eb73060bb8133e5337b73114088737298f0814.tar.gz
rockbox-39eb73060bb8133e5337b73114088737298f0814.tar.bz2
rockbox-39eb73060bb8133e5337b73114088737298f0814.tar.xz
fix compiler warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5800 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/tree.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/tree.c b/apps/tree.c
index 02899f8..2fd91db 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)