>From 65d2b70312efb148814b58d9cd38cc7069b53a3b Mon Sep 17 00:00:00 2001
From: Martin Sustrik <[email protected]>
Date: Mon, 13 Jun 2011 08:15:05 +0200
Subject: [PATCH] Minor patch to fix ICC build

Signed-off-by: Martin Sustrik <[email protected]>
---
 src/xsub.cpp |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/xsub.cpp b/src/xsub.cpp
index 60ba598..f4160c0 100644
--- a/src/xsub.cpp
+++ b/src/xsub.cpp
@@ -97,7 +97,9 @@ int zmq::xsub_t::xsend (msg_t *msg_, int flags_)
         else
             return 0;
     }
+
     zmq_assert (false);
+    return -1;
 }
 
 bool zmq::xsub_t::xhas_out ()
-- 
1.7.0.4

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

Reply via email to