From 2ca1dd6efe7999be3c8f9faa012b856bcc37951e Mon Sep 17 00:00:00 2001 From: "Anton D. Kachalov" Date: Fri, 31 Jul 2015 21:28:40 +0300 Subject: [PATCH] Eliminate `sigset' shadow warning Signed-off-by: Anton D. Kachalov --- binfmt/binfmt_schedunload.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/binfmt/binfmt_schedunload.c b/binfmt/binfmt_schedunload.c index cc9c848056..3d897953df 100644 --- a/binfmt/binfmt_schedunload.c +++ b/binfmt/binfmt_schedunload.c @@ -268,16 +268,16 @@ int schedule_unload(pid_t pid, FAR struct binary_s *bin) { struct sigaction act; struct sigaction oact; - sigset_t sigset; + sigset_t set; irqstate_t flags; int errorcode; int ret; /* Make sure that SIGCHLD is unmasked */ - (void)sigemptyset(&sigset); - (void)sigaddset(&sigset, SIGCHLD); - ret = sigprocmask(SIG_UNBLOCK, &sigset, NULL); + (void)sigemptyset(&set); + (void)sigaddset(&set, SIGCHLD); + ret = sigprocmask(SIG_UNBLOCK, &set, NULL); if (ret != OK) { /* The errno value will get trashed by the following debug output */