From 266f173b72967bae96119e5428fabe692edd8c30 Mon Sep 17 00:00:00 2001 From: Miika Pekkarinen Date: Wed, 19 Oct 2005 12:00:34 +0000 Subject: Eliminated the warnings. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7643 a1c6a512-1295-4272-9138-f99709370657 --- apps/tree.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'apps') 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), -- cgit