Fix yellow

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29449 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Michael Sparmann 2011-02-27 23:22:09 +00:00
parent 30fb680a4d
commit a5034bd244

View file

@ -496,10 +496,13 @@ static int flush_cache(int fd)
static int readwrite(int fd, void* buf, long count, bool write)
{
long sectors;
long i;
long nread=0;
struct filedesc* file;
int rc, rc2;
int rc;
#ifdef STORAGE_NEEDS_ALIGN
long i;
int rc2;
#endif
if (fd < 0 || fd > MAX_OPEN_FILES-1) {
errno = EINVAL;