drive might be used uninitialized, prevent that

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@19042 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Rafaël Carré 2008-11-09 06:17:07 +00:00
parent d0efd2d75e
commit f18591e410

View file

@ -78,7 +78,7 @@ struct partinfo* disk_init(IF_MV_NONVOID(int drive))
return NULL; /* out of space in table */
#else
struct partinfo* pinfo = part;
int drive;
const int drive = 0;
(void)drive;
#endif