diff options
author | Darren Tucker <dtucker@dtucker.net> | 2018-09-22 14:41:24 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@dtucker.net> | 2018-09-22 14:41:24 +1000 |
commit | c2fa53cd6462da82d3a851dc3a4a3f6b920337c8 (patch) | |
tree | 3ff02d7ecb7d30b79a03b86e0efa8a1a27b7c052 /openbsd-compat/bsd-misc.c | |
parent | d1b3540c21212624af907488960d703c7d987b42 (diff) |
Remove unused variable in _ssh_compat_fflush.
Diffstat (limited to 'openbsd-compat/bsd-misc.c')
-rw-r--r-- | openbsd-compat/bsd-misc.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/openbsd-compat/bsd-misc.c b/openbsd-compat/bsd-misc.c index b6893e17..5d7540a7 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; } |