Fix yellow
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29449 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
30fb680a4d
commit
a5034bd244
1 changed files with 5 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue