fix warnings

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@15511 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jonathan Gordon 2007-11-07 07:25:45 +00:00
parent 5db6b51759
commit 51b75d5d3d

View file

@ -7,7 +7,7 @@
* \/ \/ \/ \/ \/ * \/ \/ \/ \/ \/
* $Id$ * $Id$
* *
* Copyright (C) 2002 Björn Stenberg * Copyright (C) 2002 Bj<EFBFBD>rn Stenberg
* *
* All files in this archive are subject to the GNU General Public License. * 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. * 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) 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}; long title_ids[] = {LANG_RUNNING_TIME, LANG_TOP_TIME};
talk_ids(false, talk_ids(false,
title_ids[selected_item/2], title_ids[selected_item/2],
TALK_ID((selected_item == 0) ? global_status.runtime TALK_ID((selected_item == 0) ? global_status.runtime
: global_status.topruntime, UNIT_TIME)); : global_status.topruntime, UNIT_TIME));
#endif
return 0; return 0;
} }