Remove retval to fix a -Wunused-but-set-variable warning from gcc 4.9
MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
This commit is contained in:
parent
983a2d9138
commit
4fdd48909c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=292822
@ -40,12 +40,11 @@
|
||||
int
|
||||
main(void)
|
||||
{
|
||||
int pipes[10000], returnval;
|
||||
int pipes[10000];
|
||||
unsigned int i;
|
||||
|
||||
for (i = 0; i < nitems(pipes); i++) {
|
||||
returnval = pipe(&pipes[i]);
|
||||
}
|
||||
for (i = 0; i < nitems(pipes); i++)
|
||||
(void)pipe(&pipes[i]);
|
||||
printf("PASS\n");
|
||||
|
||||
exit(0);
|
||||
|
Loading…
Reference in New Issue
Block a user