aboutsummaryrefslogtreecommitdiffstats
path: root/source/Host/common/MainLoop.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/Host/common/MainLoop.cpp')
-rw-r--r--source/Host/common/MainLoop.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/Host/common/MainLoop.cpp b/source/Host/common/MainLoop.cpp
index 1ce09a84671c..6f774451c8a4 100644
--- a/source/Host/common/MainLoop.cpp
+++ b/source/Host/common/MainLoop.cpp
@@ -320,6 +320,7 @@ MainLoop::RegisterSignal(int signo, const Callback &callback, Status &error) {
// Even if using kqueue, the signal handler will still be invoked, so it's
// important to replace it with our "benign" handler.
int ret = sigaction(signo, &new_action, &info.old_action);
+ (void)ret;
assert(ret == 0 && "sigaction failed");
#if HAVE_SYS_EVENT_H