1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-07-28 01:41:49 +03:00

examples: remove assignments of variable rc that's never used

This commit is contained in:
Daniel Stenberg
2010-04-28 09:05:19 +02:00
parent 514f4d9305
commit 0862a1a39a
4 changed files with 12 additions and 12 deletions

View File

@ -265,8 +265,8 @@ int main(int argc, char *argv[])
shutdown:
printf("libssh2_session_disconnect\n");
while ((rc = libssh2_session_disconnect(session,
"Normal Shutdown, Thank you")) ==
while (libssh2_session_disconnect(session,
"Normal Shutdown, Thank you") ==
LIBSSH2_ERROR_EAGAIN);
libssh2_session_free(session);