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
d248315c93
commit
938fedc5e2
@ -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