Commit 2b9c39329ac21ef0f7aa96dea28336319185a61c

SSE4 2019-02-22T05:19:40

- remove unused variables Signed-off-by: SSE4 <tomskside@gmail.com>

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
diff --git a/sys/wait.h b/sys/wait.h
index 9525280..d0f6491 100644
--- a/sys/wait.h
+++ b/sys/wait.h
@@ -215,7 +215,6 @@ static void __filetime2timeval(FILETIME time, struct timeval * out)
 
 static int __waitpid_internal(pid_t pid, int * status, int options, siginfo_t * infop, struct rusage * rusage)
 {
-    int retval = 0;
     int saved_status = 0;
     HANDLE hProcess = INVALID_HANDLE_VALUE, hSnapshot = INVALID_HANDLE_VALUE;
     int (*filter)(PROCESSENTRY32*, DWORD);
@@ -237,7 +236,6 @@ static int __waitpid_internal(pid_t pid, int * status, int options, siginfo_t * 
     else if (pid < -1)
     {
         /* wait for any process from the group */
-        int group_id = -pid;
         abort(); /* not implemented */
     }
     else if (pid == 0)