[common] fix failure to initialize structure
This commit is contained in:
1 parent
4cf2c7a350
commit
9554e82c47
2 files changed
+2
-2
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user