From b9dc6112d78b2525107cf0a8e511ced80f86d285 Mon Sep 17 00:00:00 2001 From: Marc Hoersken Date: Sun, 18 May 2014 10:16:24 +0200 Subject: [PATCH] tcpip-forward.c: Removed unused variables shost, sport and sockopt --- example/tcpip-forward.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/example/tcpip-forward.c b/example/tcpip-forward.c index 94d3cc8..c870803 100644 --- a/example/tcpip-forward.c +++ b/example/tcpip-forward.c @@ -57,20 +57,15 @@ int main(int argc, char *argv[]) LIBSSH2_SESSION *session; LIBSSH2_LISTENER *listener = NULL; LIBSSH2_CHANNEL *channel = NULL; - const char *shost; - unsigned int sport; fd_set fds; struct timeval tv; ssize_t len, wr; char buf[16384]; #ifdef WIN32 - char sockopt; WSADATA wsadata; WSAStartup(MAKEWORD(2,0), &wsadata); -#else - int sockopt; #endif if (argc > 1)