mirror of
https://github.com/libssh2/libssh2.git
synced 2025-08-10 06:23:02 +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 (retcode = channel_send_eof(channel))
|
||||
if ((retcode = channel_send_eof(channel)))
|
||||
return retcode;
|
||||
|
||||
if (!channel->remote.eof)
|
||||
if (retcode = channel_wait_eof(channel))
|
||||
if ((retcode = channel_wait_eof(channel)))
|
||||
return retcode;
|
||||
|
||||
if (channel->close_state == libssh2_NB_state_idle) {
|
||||
|
Reference in New Issue
Block a user