Don't use uninitialised variables.
This commit is contained in:
parent
07e22b1548
commit
0c0c87c954
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: nfs_subr.c,v 1.2 2015/01/18 15:54:38 christos Exp $ */
|
||||
/* $NetBSD: nfs_subr.c,v 1.3 2015/01/21 21:47:44 joerg Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1997-2014 Erez Zadok
|
||||
|
@ -1713,6 +1713,9 @@ am_nfs3_fsstat_3_svc(am_FSSTAT3args *argp, struct svc_req *rqstp)
|
|||
if ((gopt.flags & CFM_SHOW_STATFS_ENTRIES) &&
|
||||
mp->am_al->al_mnt && mp->am_al->al_mnt->mf_mopts) {
|
||||
mnt.mnt_opts = mp->am_al->al_mnt->mf_mopts;
|
||||
blocks = 0;
|
||||
bfree = 0;
|
||||
bavail = 0;
|
||||
if (amu_hasmntopt(&mnt, "browsable")) {
|
||||
count_map_entries(mp, &blocks, &bfree, &bavail);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue