From: Darren Tucker Date: Sat, 22 Sep 2018 04:41:24 +0000 (+1000) Subject: Remove unused variable in _ssh_compat_fflush. X-Git-Tag: V_7_9_P1~31 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c2fa53cd6462da82d3a851dc3a4a3f6b920337c8;p=thirdparty%2Fopenssh-portable.git Remove unused variable in _ssh_compat_fflush. --- diff --git a/openbsd-compat/bsd-misc.c b/openbsd-compat/bsd-misc.c index b6893e171..5d7540a70 100644 --- a/openbsd-compat/bsd-misc.c +++ b/openbsd-compat/bsd-misc.c @@ -313,12 +313,12 @@ getsid(pid_t pid) #undef fflush int _ssh_compat_fflush(FILE *f) { - int r1, r2, r3; + int r1, r2; if (f == NULL) { - r2 = fflush(stdout); - r3 = fflush(stderr); - if (r1 == -1 || r2 == -1 || r3 == -1) + r1 = fflush(stdout); + r2 = fflush(stderr); + if (r1 == -1 || r2 == -1) return -1; return 0; }