summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 ()