[common] fix failure to initialize structure

This commit is contained in:
Geoffrey McRae 2019-05-27 01:50:38 +10:00
parent 4cf2c7a350
commit 9554e82c47
2 changed files with 2 additions and 2 deletions

View File

@ -1 +1 @@
B1-rc2-1-g9b1f5b52a6+1
B1-rc2-5-g4cf2c7a350+1

View File

@ -206,7 +206,7 @@ static void crit_err_hdlr(int sig_num, siginfo_t * info, void * ucontext)
bool installCrashHandler(const char * exe)
{
struct sigaction sigact;
struct sigaction sigact = { 0 };
crash.exe = realpath(exe, NULL);
sigact.sa_sigaction = crit_err_hdlr;