mirror of
https://github.com/Rockbox/rockbox.git
synced 2025-12-08 12:45:26 -05:00
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:
parent
d0efd2d75e
commit
f18591e410
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue