From: Austin Clements Date: Fri, 30 Sep 2011 19:28:33 +0000 (-0400) Subject: Fix compile error on newer gcc's X-Git-Url: https://git.devinivas.org/?a=commitdiff_plain;h=d73dd097a529bc9d13f514ae6884c4d96a0fffa8;p=cs3210-lab0.git Fix compile error on newer gcc's --- diff --git a/usertests.c b/usertests.c index ed13d80..92b9136 100644 --- a/usertests.c +++ b/usertests.c @@ -1514,10 +1514,9 @@ bsstest(void) void bigargtest(void) { - int pid, ppid, fd; + int pid, fd; unlink("bigarg-ok"); - ppid = getpid(); pid = fork(); if(pid == 0){ static char *args[MAXARG];