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 | |
parent | d1b3540c21212624af907488960d703c7d987b42 (diff) |
Remove unused variable in _ssh_compat_fflush.
Diffstat (limited to 'openbsd-compat')
-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 b6893e171..5d7540a70 100644 --- a/openbsd-compat/bsd-misc.c +++ b/openbsd-compat/bsd-misc.c | |||
@@ -313,12 +313,12 @@ getsid(pid_t pid) | |||
313 | #undef fflush | 313 | #undef fflush |
314 | int _ssh_compat_fflush(FILE *f) | 314 | int _ssh_compat_fflush(FILE *f) |
315 | { | 315 | { |
316 | int r1, r2, r3; | 316 | int r1, r2; |
317 | 317 | ||
318 | if (f == NULL) { | 318 | if (f == NULL) { |
319 | r2 = fflush(stdout); | 319 | r1 = fflush(stdout); |
320 | r3 = fflush(stderr); | 320 | r2 = fflush(stderr); |
321 | if (r1 == -1 || r2 == -1 || r3 == -1) | 321 | if (r1 == -1 || r2 == -1) |
322 | return -1; | 322 | return -1; |
323 | return 0; | 323 | return 0; |
324 | } | 324 | } |