summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-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);