Eliminated the warnings.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@7643 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Miika Pekkarinen 2005-10-19 12:00:34 +00:00
parent 57b25ca640
commit 266f173b72

View file

@ -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),