silence warning

This commit is contained in:
Alcaro 2017-12-04 13:28:38 +01:00 committed by GitHub
parent 50148c03e2
commit 89f7afdc8f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -166,7 +166,6 @@ void filestream_set_size(RFILE *stream)
* @bufsize : optional buffer size (-1 or 0 to use default) * @bufsize : optional buffer size (-1 or 0 to use default)
* *
* Opens a file for reading or writing, depending on the requested mode. * Opens a file for reading or writing, depending on the requested mode.
* If bufsize is > 0 for unbuffered modes (like RFILE_MODE_WRITE), file will instead be fully buffered.
* Returns a pointer to an RFILE if opened successfully, otherwise NULL. * Returns a pointer to an RFILE if opened successfully, otherwise NULL.
**/ **/
RFILE *filestream_open(const char *path, unsigned mode, ssize_t unused) RFILE *filestream_open(const char *path, unsigned mode, ssize_t unused)
@ -192,6 +191,7 @@ RFILE *filestream_open(const char *path, unsigned mode, ssize_t unused)
(void)mode_int; (void)mode_int;
(void)flags; (void)flags;
(void)bufsize;
stream->hints = mode; stream->hints = mode;