We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 390942c commit a2fae8bCopy full SHA for a2fae8b
lldb/tools/driver/Driver.cpp
@@ -789,11 +789,8 @@ int main(int argc, char const *argv[]) {
789
g_driver->GetDebugger().SaveInputTerminalState();
790
791
struct sigaction old_action;
792
- struct sigaction new_action;
793
-
794
- memset(&new_action, 0, sizeof(new_action));
+ struct sigaction new_action = {};
795
new_action.sa_handler = SIG_DFL;
796
- new_action.sa_flags = SA_SIGINFO;
797
sigemptyset(&new_action.sa_mask);
798
sigaddset(&new_action.sa_mask, SIGTSTP);
799
0 commit comments