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 defined(HAVE_BUFFERED_IO)
|
||||||
if (!stream->fd)
|
if (!stream->fd)
|
||||||
|
goto error;
|
||||||
#else
|
#else
|
||||||
if (stream->fd == -1)
|
if (stream->fd == -1)
|
||||||
|
goto error
|
||||||
#endif
|
#endif
|
||||||
goto error;
|
|
||||||
|
|
||||||
return stream;
|
return stream;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue