mirror of
https://github.com/libretro/RetroArch
synced 2025-04-16 08:43:10 +00:00
Cleanups
This commit is contained in:
parent
a1ce8b58c4
commit
784bb32c64
@ -131,7 +131,7 @@ static void filestream_set_size(RFILE *stream)
|
|||||||
* filestream_open:
|
* filestream_open:
|
||||||
* @path : path to file
|
* @path : path to file
|
||||||
* @mode : file mode to use when opening (read/write)
|
* @mode : file mode to use when opening (read/write)
|
||||||
* @bufsize : optional buffer size (-1 or 0 to use default)
|
* @hints :
|
||||||
*
|
*
|
||||||
* Opens a file for reading or writing, depending on the requested mode.
|
* Opens a file for reading or writing, depending on the requested mode.
|
||||||
* Returns a pointer to an RFILE if opened successfully, otherwise NULL.
|
* Returns a pointer to an RFILE if opened successfully, otherwise NULL.
|
||||||
@ -289,8 +289,6 @@ char *filestream_gets(RFILE *stream, char *s, size_t len)
|
|||||||
|
|
||||||
int filestream_getc(RFILE *stream)
|
int filestream_getc(RFILE *stream)
|
||||||
{
|
{
|
||||||
char c = 0;
|
|
||||||
(void)c;
|
|
||||||
if (!stream)
|
if (!stream)
|
||||||
return 0;
|
return 0;
|
||||||
return fgetc(stream->fp);
|
return fgetc(stream->fp);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user