summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMiika Pekkarinen <miipekk@ihme.org>2005-10-19 12:00:34 +0000
committerMiika Pekkarinen <miipekk@ihme.org>2005-10-19 12:00:34 +0000
commit266f173b72967bae96119e5428fabe692edd8c30 (patch)
tree80c482ad8ebe9d915ca61ed73990d00f469bd1e0 /apps
parent57b25ca640332a262c046693425ad0810853b070 (diff)
downloadrockbox-266f173b72967bae96119e5428fabe692edd8c30.tar.gz
rockbox-266f173b72967bae96119e5428fabe692edd8c30.tar.bz2
rockbox-266f173b72967bae96119e5428fabe692edd8c30.zip
Eliminated the warnings.
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7643 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps')
-rw-r--r--apps/tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/tree.c b/apps/tree.c
index b50ccb6ca6..df2bd24799 100644
--- a/apps/tree.c
+++ b/apps/tree.c
@@ -1654,13 +1654,13 @@ void tree_flush(void)
void tree_restore(void)
{
- int font_w, font_h;
-
tagdb_init();
rundb_init();
#ifdef HAVE_DIRCACHE
if (global_settings.dircache)
{
+ int font_w, font_h;
+
/* Print "Scanning disk..." to the display. */
lcd_getstringsize("A", &font_w, &font_h);
lcd_putsxy((LCD_WIDTH/2) - ((strlen(str(LANG_DIRCACHE_BUILDING))*font_w)/2),