rewind(3) is already declared to return 'void', so no need for an explicit cast
This commit is contained in:
parent
1e3249cb9b
commit
a752c19301
@ -467,7 +467,7 @@ closecal(FILE *fp)
|
|||||||
if (!doall)
|
if (!doall)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
(void)rewind(fp);
|
rewind(fp);
|
||||||
if (fstat(fileno(fp), &sbuf) || !sbuf.st_size)
|
if (fstat(fileno(fp), &sbuf) || !sbuf.st_size)
|
||||||
goto done;
|
goto done;
|
||||||
if (pipe(pdes) < 0)
|
if (pipe(pdes) < 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user