>From 1842628b9058b9243ebe037a6818c27ea1c8cd8d Mon Sep 17 00:00:00 2001
From: Martin Sustrik <[email protected]>
Date: Mon, 4 Apr 2011 12:12:06 +0200
Subject: [PATCH] Unreferenced variable removed

Signed-off-by: Martin Sustrik <[email protected]>
---
 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);
-- 
1.7.0.4

_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to