mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-14 10:09:48 +00:00
Initialize "he" in DoFile, so savecore(8) is WARNS=6 clean.
Bump WARNS accordingly.
This commit is contained in:
parent
37c3875846
commit
e80cfa4631
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=139975
@ -1,7 +1,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PROG= savecore
|
||||
WARNS?= 4
|
||||
WARNS?= 6
|
||||
DPADD= ${LIBZ}
|
||||
LDADD= -lz
|
||||
MAN= savecore.8
|
||||
|
@ -213,7 +213,7 @@ DoFile(char *savedir, const char *device)
|
||||
off_t mediasize, dumpsize, firsthd, lasthd, dmpcnt;
|
||||
FILE *info, *fp;
|
||||
int fd, fdinfo, error, wl;
|
||||
int nr, nw, hs, he;
|
||||
int nr, nw, hs, he = 0;
|
||||
int bounds;
|
||||
u_int sectorsize;
|
||||
mode_t oumask;
|
||||
|
Loading…
Reference in New Issue
Block a user