mirror of
https://github.com/PowerShell/openssh-portable.git
synced 2025-07-31 01:35:11 +02:00
Remove unused variable in _ssh_compat_fflush.
This commit is contained in:
parent
d1b3540c21
commit
c2fa53cd64
@ -313,12 +313,12 @@ getsid(pid_t pid)
|
|||||||
#undef fflush
|
#undef fflush
|
||||||
int _ssh_compat_fflush(FILE *f)
|
int _ssh_compat_fflush(FILE *f)
|
||||||
{
|
{
|
||||||
int r1, r2, r3;
|
int r1, r2;
|
||||||
|
|
||||||
if (f == NULL) {
|
if (f == NULL) {
|
||||||
r2 = fflush(stdout);
|
r1 = fflush(stdout);
|
||||||
r3 = fflush(stderr);
|
r2 = fflush(stderr);
|
||||||
if (r1 == -1 || r2 == -1 || r3 == -1)
|
if (r1 == -1 || r2 == -1)
|
||||||
return -1;
|
return -1;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user