1
0
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:
Xin LI 2005-01-10 10:44:56 +00:00
parent 37c3875846
commit e80cfa4631
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=139975
2 changed files with 2 additions and 2 deletions

View File

@ -1,7 +1,7 @@
# $FreeBSD$
PROG= savecore
WARNS?= 4
WARNS?= 6
DPADD= ${LIBZ}
LDADD= -lz
MAN= savecore.8

View File

@ -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;