summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2007-11-07 07:25:45 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2007-11-07 07:25:45 +0000
commit51b75d5d3def842cdcf02576eb963a494e26b1b1 (patch)
tree21e65fdd9fc39029c4a335ab3837db8c06ffe127
parent5db6b51759fa1b2e9595a177414874fc928d5180 (diff)
downloadrockbox-51b75d5d3def842cdcf02576eb963a494e26b1b1.tar.gz
rockbox-51b75d5d3def842cdcf02576eb963a494e26b1b1.tar.bz2
rockbox-51b75d5d3def842cdcf02576eb963a494e26b1b1.zip
fix warnings
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15511 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--apps/screens.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/apps/screens.c b/apps/screens.c
index 8b23fe3201..ecd989043b 100644
--- a/apps/screens.c
+++ b/apps/screens.c
@@ -7,7 +7,7 @@
* \/ \/ \/ \/ \/
* $Id$
*
- * Copyright (C) 2002 Björn Stenberg
+ * Copyright (C) 2002 Bj�rn Stenberg
*
* All files in this archive are subject to the GNU General Public License.
* See the file COPYING in the source tree root for full license agreement.
@@ -1286,12 +1286,14 @@ static char* runtime_get_data(int selected_item, void* data, char* buffer)
static int runtime_speak_data(int selected_item, void* data)
{
- (void) data;
+ (void) data;(void)selected_item;
+#if !defined(SIMULATOR) || CONFIG_CODEC == SWCODEC
long title_ids[] = {LANG_RUNNING_TIME, LANG_TOP_TIME};
talk_ids(false,
title_ids[selected_item/2],
TALK_ID((selected_item == 0) ? global_status.runtime
: global_status.topruntime, UNIT_TIME));
+#endif
return 0;
}