From a6ea5797ec8816979b6433d9add224f564ae2cd6 Mon Sep 17 00:00:00 2001 From: Alison Winters Date: Wed, 17 Mar 2021 19:49:42 -0700 Subject: [PATCH] fflush: remove now-unused variable --- libc/stdio/fflush.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libc/stdio/fflush.c b/libc/stdio/fflush.c index 7960967e8..400e14271 100644 --- a/libc/stdio/fflush.c +++ b/libc/stdio/fflush.c @@ -36,12 +36,12 @@ */ int fflush(FILE *f) { size_t i; - int rc, wrote; + int rc; rc = 0; if (!f) { for (i = __fflush.handles.i; i; --i) { if ((f = __fflush.handles.p[i - 1])) { - if ((wrote = fflush(f)) == -1) { + if (fflush(f) == -1) { rc = -1; break; }