From 1842628b9058b9243ebe037a6818c27ea1c8cd8d Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Mon, 4 Apr 2011 12:12:06 +0200 Subject: Unreferenced variable removed Signed-off-by: Martin Sustrik --- src/tcp_socket.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/tcp_socket.cpp b/src/tcp_socket.cpp index 924b0b0..6b10c1d 100644 --- a/src/tcp_socket.cpp +++ b/src/tcp_socket.cpp @@ -47,7 +47,6 @@ int zmq::tcp_socket_t::open (fd_t fd_, int sndbuf_, int rcvbuf_) } if (rcvbuf_) { - int sz = (int) rcvbuf_; int rc = setsockopt (s, SOL_SOCKET, SO_RCVBUF, (char*) &rcvbuf_, sizeof (int)); errno_assert (rc == 0); -- cgit v1.2.3