mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Fix an "unused variable" error that gets us all the way to WARNS=6
This commit is contained in:
parent
9b3f439482
commit
d7233fd615
2 changed files with 3 additions and 4 deletions
|
|
@ -1,7 +1,6 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PROG= stat
|
||||
WARNS?= 2
|
||||
|
||||
LINKS= ${BINDIR}/stat ${BINDIR}/readlink
|
||||
MLINKS= stat.1 readlink.1
|
||||
|
|
|
|||
|
|
@ -177,7 +177,7 @@ __FBSDID("$FreeBSD$");
|
|||
|
||||
void usage(const char *);
|
||||
void output(const struct stat *, const char *,
|
||||
const char *, int, int, int);
|
||||
const char *, int, int);
|
||||
int format1(const struct stat *, /* stat info */
|
||||
const char *, /* the file name */
|
||||
const char *, int, /* the format string itself */
|
||||
|
|
@ -341,7 +341,7 @@ main(int argc, char *argv[])
|
|||
warn("%s: stat", file);
|
||||
}
|
||||
else
|
||||
output(&st, file, statfmt, fn, nonl, quiet);
|
||||
output(&st, file, statfmt, fn, nonl);
|
||||
|
||||
argv++;
|
||||
argc--;
|
||||
|
|
@ -383,7 +383,7 @@ usage(const char *synopsis)
|
|||
*/
|
||||
void
|
||||
output(const struct stat *st, const char *file,
|
||||
const char *statfmt, int fn, int nonl, int quiet)
|
||||
const char *statfmt, int fn, int nonl)
|
||||
{
|
||||
int flags, size, prec, ofmt, hilo, what;
|
||||
char buf[PATH_MAX + 4 + 1];
|
||||
|
|
|
|||
Loading…
Reference in a new issue