mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-15 23:06:40 +00:00
Small cleanup
This commit is contained in:
parent
c4910985ed
commit
c8df945792
@ -124,10 +124,11 @@ RFILE *retro_fopen(const char *path, unsigned mode, ssize_t len)
|
||||
|
||||
#if defined(HAVE_BUFFERED_IO)
|
||||
if (!stream->fd)
|
||||
goto error;
|
||||
#else
|
||||
if (stream->fd == -1)
|
||||
goto error
|
||||
#endif
|
||||
goto error;
|
||||
|
||||
return stream;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user