commit 6f6ecd55378f6008a6527adf994869f57b7421f8
parent 0c190acb537953c012793cc53c5206e6d9c3200d
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date: Mon, 15 Oct 2018 09:00:37 +0100
[lib/c] Remove unused variable in setvbuf
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/c/setvbuf.c b/lib/c/setvbuf.c
@@ -8,7 +8,7 @@ extern int _flsbuf(FILE *fp);
int
setvbuf(FILE * restrict fp, char * restrict buf, int mode, size_t size)
{
- int flags, r;
+ int flags;
if (_flsbuf(fp) == EOF)
return EOF;