summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/tcp_socket.cpp1
1 files changed, 0 insertions, 1 deletions
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);