1
0
mirror of https://github.com/libssh2/libssh2.git synced 2025-07-29 13:01:14 +03:00

ssh2_echo: Value stored to 'exitcode' is never read

This commit is contained in:
Daniel Stenberg
2010-12-15 21:58:43 +01:00
parent 2165ceacd3
commit 5ee38702a0

View File

@ -85,7 +85,7 @@ int main(int argc, char *argv[])
LIBSSH2_SESSION *session;
LIBSSH2_CHANNEL *channel;
int rc;
int exitcode;
int exitcode = 0;
char *exitsignal=(char *)"none";
size_t len;
LIBSSH2_KNOWNHOSTS *nh;
@ -357,5 +357,5 @@ int main(int argc, char *argv[])
libssh2_exit();
return 0;
return exitcode;
}