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:
parent
c8aacbdaa8
commit
7f1740e82a
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=118632
@ -1,7 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= ccdconfig
|
||||
WARNS?= 3
|
||||
WARNS?= 6
|
||||
MAN= ccdconfig.8
|
||||
|
||||
DPADD= ${LIBGEOM}
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user