Apply a few clang-tidy cppcoreguidelines-* fixes

This commit is contained in:
louiz’
2017-04-07 11:10:51 +02:00
parent 0dfeb5a94c
commit 8a912ea3a3
5 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -99,7 +99,7 @@ int main(int ac, char** av)
// Block the signals we want to manage. They will be unblocked only during
// the epoll_pwait or ppoll calls. This avoids some race conditions,
// explained in man 2 pselect on linux
sigset_t mask;
sigset_t mask{};
sigemptyset(&mask);
sigaddset(&mask, SIGINT);
sigaddset(&mask, SIGTERM);