1
0
mirror of https://git.FreeBSD.org/src.git synced 2025-01-02 12:20:51 +00:00

Make this WARNS=6 clean by renaming the variable 'err' to 'error'

in order not to shadow err(3).

Tested by:	make universe
This commit is contained in:
Johan Karlsson 2003-08-07 19:10:35 +00:00
parent c8aacbdaa8
commit 7f1740e82a
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=118632
2 changed files with 7 additions and 7 deletions

View File

@ -1,7 +1,7 @@
# $FreeBSD$
PROG= ccdconfig
WARNS?= 3
WARNS?= 6
MAN= ccdconfig.8
DPADD= ${LIBGEOM}

View File

@ -380,16 +380,16 @@ dumpout(int unit)
static int
dump_ccd(int argc, char **argv)
{
int i, err;
int i, error;
if (argc == 0) {
err = dumpout(-1);
error = dumpout(-1);
} else {
err = 0;
for (i = 0; err == 0 && i < argc; i++)
err = dumpout(resolve_ccdname(argv[i]));
error = 0;
for (i = 0; error == 0 && i < argc; i++)
error = dumpout(resolve_ccdname(argv[i]));
}
return (err);
return (error);
}
static int