summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2011-06-18 20:41:21 +0200
committerMartin Sustrik <sustrik@250bpm.com>2011-06-18 20:41:21 +0200
commitdc66053530e798dbcdb236cc2040031980cc09c7 (patch)
treec238b2e9c04c1d717c6c6c608de0ae4dac7d0bbc
parente895607ca7a97378f7ccc5ab050fc54fd54a80ad (diff)
Minor MSVC warning fixed
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
-rw-r--r--src/xsub.cpp2
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 ()