mirror of
https://github.com/libssh2/libssh2.git
synced 2025-08-11 17:22:41 +03:00
silence picky compiler warnings
This commit is contained in:
@@ -2219,11 +2219,11 @@ channel_close(LIBSSH2_CHANNEL * channel)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!channel->local.eof)
|
if (!channel->local.eof)
|
||||||
if (retcode = channel_send_eof(channel))
|
if ((retcode = channel_send_eof(channel)))
|
||||||
return retcode;
|
return retcode;
|
||||||
|
|
||||||
if (!channel->remote.eof)
|
if (!channel->remote.eof)
|
||||||
if (retcode = channel_wait_eof(channel))
|
if ((retcode = channel_wait_eof(channel)))
|
||||||
return retcode;
|
return retcode;
|
||||||
|
|
||||||
if (channel->close_state == libssh2_NB_state_idle) {
|
if (channel->close_state == libssh2_NB_state_idle) {
|
||||||
|
Reference in New Issue
Block a user