summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/ypipe.hpp12
1 files changed, 5 insertions, 7 deletions
diff --git a/src/ypipe.hpp b/src/ypipe.hpp
index 0a9b5d5..0fb7951 100644
--- a/src/ypipe.hpp
+++ b/src/ypipe.hpp
@@ -137,14 +137,12 @@ namespace zmq
stop = false;
return false;
}
- else {
- // We want to do only a single prefetch in D scenario
- // before going asleep. Thus, we set stop variable to true
- // so that we can return false next time the prefetch is
- // attempted.
- stop = true;
- }
+ // We want to do only a single prefetch in D scenario
+ // before going asleep. Thus, we set stop variable to true
+ // so that we can return false next time the prefetch is
+ // attempted.
+ stop = true;
}
else {