summaryrefslogtreecommitdiff
path: root/src/network/poller.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/poller.cpp')
-rw-r--r--src/network/poller.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/network/poller.cpp b/src/network/poller.cpp
index 9f62e36..ca49180 100644
--- a/src/network/poller.cpp
+++ b/src/network/poller.cpp
@@ -198,7 +198,7 @@ int Poller::poll(const std::chrono::milliseconds& timeout)
static const size_t max_events = 12;
struct epoll_event revents[max_events];
// Unblock all signals, only during the epoll_pwait call
- sigset_t empty_signal_set;
+ sigset_t empty_signal_set{};
sigemptyset(&empty_signal_set);
const int nb_events = ::epoll_pwait(this->epfd, revents, max_events, timeout.count(),
&empty_signal_set);