summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/nanomsg.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/lib/nanomsg.cc b/src/lib/nanomsg.cc
index 0fc0dd357..4cc071370 100644
--- a/src/lib/nanomsg.cc
+++ b/src/lib/nanomsg.cc
@@ -123,9 +123,4 @@ Nanomsg::receive (int timeout)
recv_and_parse (timeout ? 0 : NN_DONTWAIT);
return get_from_pending ();
- if (!l) {
- throw CommunicationFailedError ();
- }
-
- return *l;
}