mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 23:07:35 +00:00
Userland: Use uniform initialization instead of memset
This commit is contained in:
parent
cbd8f78cce
commit
3019445492
2 changed files with 6 additions and 7 deletions
|
@ -213,8 +213,8 @@ int main(int argc, char** argv)
|
|||
}
|
||||
g_debug_session = result.release_nonnull();
|
||||
|
||||
struct sigaction sa;
|
||||
memset(&sa, 0, sizeof(struct sigaction));
|
||||
struct sigaction sa {
|
||||
};
|
||||
sa.sa_handler = handle_sigint;
|
||||
sigaction(SIGINT, &sa, nullptr);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue