diff options
Diffstat (limited to 'base/process/launch_posix.cc')
-rw-r--r-- | base/process/launch_posix.cc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/base/process/launch_posix.cc b/base/process/launch_posix.cc index 1c4df40665..2184051552 100644 --- a/base/process/launch_posix.cc +++ b/base/process/launch_posix.cc @@ -163,12 +163,7 @@ int sys_rt_sigaction(int sig, const struct kernel_sigaction* act, // See crbug.com/177956. void ResetChildSignalHandlersToDefaults(void) { for (int signum = 1; ; ++signum) { -#if defined(ANDROID) - struct kernel_sigaction act; - memset(&act, 0, sizeof(act)); -#else struct kernel_sigaction act = {0}; -#endif int sigaction_get_ret = sys_rt_sigaction(signum, nullptr, &act); if (sigaction_get_ret && errno == EINVAL) { #if !defined(NDEBUG) |