summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorlouiz’ <louiz@louiz.org>2017-04-07 11:10:51 +0200
committerlouiz’ <louiz@louiz.org>2017-04-07 11:10:51 +0200
commit8a912ea3a3a74f6c4d2cb67adf3f60b4ec0a1c9f (patch)
tree1a5a65ae1ebf2bd76e6d472a189ede0ffe67ebfa /src/main.cpp
parent0dfeb5a94c0da9b25f0d6ed4bd27f3f6ffc5035f (diff)
downloadbiboumi-8a912ea3a3a74f6c4d2cb67adf3f60b4ec0a1c9f.tar.gz
biboumi-8a912ea3a3a74f6c4d2cb67adf3f60b4ec0a1c9f.tar.bz2
biboumi-8a912ea3a3a74f6c4d2cb67adf3f60b4ec0a1c9f.tar.xz
biboumi-8a912ea3a3a74f6c4d2cb67adf3f60b4ec0a1c9f.zip
Apply a few clang-tidy cppcoreguidelines-* fixes
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 2fa72d5..2db89cc 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -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);