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:
Enji Cooper 2015-12-28 02:36:57 +00:00
parent 983a2d9138
commit 4fdd48909c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=292822

View File

@ -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);