Fix -Wall warnings
Submitted-By: Martin Blapp <mblapp@kassiopeja.lan.attic.ch>
This commit is contained in:
parent
9d94ff5831
commit
ccd019bc55
@ -657,7 +657,7 @@ getnfsargs(spec, nfsargsp)
|
||||
#ifdef NFSKERB
|
||||
char *cp;
|
||||
#endif
|
||||
u_short tport;
|
||||
u_short tport = 0;
|
||||
static struct nfhret nfhret;
|
||||
static char nam[MNAMELEN + 1];
|
||||
|
||||
|
@ -80,7 +80,7 @@ main(argc, argv)
|
||||
int argc;
|
||||
char *argv[];
|
||||
{
|
||||
int all, ch, errs, mnts;
|
||||
int all, ch, errs = 0, mnts;
|
||||
char **typelist = NULL;
|
||||
struct statfs *mntbuf;
|
||||
|
||||
@ -211,7 +211,8 @@ umountfs(name, typelist)
|
||||
struct timeval pertry, try;
|
||||
CLIENT *clp;
|
||||
int so;
|
||||
char *type, *delimp, *hostp, *mntpt, *origname, rname[MAXPATHLEN];
|
||||
char *type, *delimp = NULL, *hostp, *mntpt, *origname;
|
||||
char rname[MAXPATHLEN];
|
||||
|
||||
if (realpath(name, rname) == NULL) {
|
||||
/* Continue and let the system call check it... */
|
||||
|
Loading…
Reference in New Issue
Block a user