diff options
Diffstat (limited to 'src/socket_base.cpp')
-rw-r--r-- | src/socket_base.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/socket_base.cpp b/src/socket_base.cpp index 1f45fd6..39881d5 100644 --- a/src/socket_base.cpp +++ b/src/socket_base.cpp @@ -42,7 +42,6 @@ #include "io_thread.hpp" #include "session_base.hpp" #include "config.hpp" -#include "clock.hpp" #include "pipe.hpp" #include "err.hpp" #include "ctx.hpp" @@ -558,7 +557,6 @@ int xs::socket_base_t::send (msg_t *msg_, int flags_) // Compute the time when the timeout should occur. // If the timeout is infite, don't care. - clock_t clock ; uint64_t end = timeout < 0 ? 0 : (clock.now_ms () + timeout); // Oops, we couldn't send the message. Wait for the next @@ -643,7 +641,6 @@ int xs::socket_base_t::recv (msg_t *msg_, int flags_) // Compute the time when the timeout should occur. // If the timeout is infite, don't care. - clock_t clock ; uint64_t end = timeout < 0 ? 0 : (clock.now_ms () + timeout); // In blocking scenario, commands are processed over and over again until |