projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
69f1be3
)
Remove unused code.
author
Carl Hetherington
<cth@carlh.net>
Mon, 9 Nov 2020 00:09:22 +0000
(
01:09
+0100)
committer
Carl Hetherington
<cth@carlh.net>
Mon, 16 Nov 2020 00:40:36 +0000
(
01:40
+0100)
src/lib/nanomsg.cc
patch
|
blob
|
history
diff --git
a/src/lib/nanomsg.cc
b/src/lib/nanomsg.cc
index 0fc0dd357edc7a5b61535922c4ac96b805cc08cd..4cc071370d0f9674e8de56a6b86df0912e06eab1 100644
(file)
--- 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;
}