diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2011-04-04 12:12:06 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2011-04-04 12:12:06 +0200 |
commit | 1842628b9058b9243ebe037a6818c27ea1c8cd8d (patch) | |
tree | d4980202b5a6e35511d9170cf79d308a79188b01 | |
parent | 2c7af35827863b1e0a167298140a38180980502c (diff) |
Unreferenced variable removed
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
-rw-r--r-- | src/tcp_socket.cpp | 1 |
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); |