From 5ce95ba5e731cf3bc6e3c245229b2c550ef51cc0 Mon Sep 17 00:00:00 2001 From: Benau Date: Sun, 12 Jan 2020 12:59:02 +0800 Subject: [PATCH] Fix clang warning --- src/utils/crash_reporting.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/crash_reporting.cpp b/src/utils/crash_reporting.cpp index e3648ad00..d2b414d0f 100644 --- a/src/utils/crash_reporting.cpp +++ b/src/utils/crash_reporting.cpp @@ -476,7 +476,7 @@ void installHandlers() { loadSTKBFD(); - struct sigaction sa = {0}; + struct sigaction sa = {{0}}; sa.sa_handler = &signalHandler; sigemptyset(&sa.sa_mask); sa.sa_flags = SA_RESTART;