summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/zmq.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/zmq.cpp b/src/zmq.cpp
index 8d2fd05..342a8a6 100644
--- a/src/zmq.cpp
+++ b/src/zmq.cpp
@@ -765,10 +765,6 @@ unsigned long zmq_stopwatch_stop (void *watch_)
{
uint64_t end = now ();
uint64_t start = *(uint64_t*) watch_;
- if (!watch_) {
- errno = EFAULT;
- return -1;
- }
free (watch_);
return (unsigned long) (end - start);
}