Clean up a couple of initialisations in order to suppress a correct

but un-useful warning.
This commit is contained in:
Mike Smith 1999-11-06 07:43:22 +00:00
parent 61f676b449
commit 91eef0b873
2 changed files with 8 additions and 4 deletions

View File

@ -167,8 +167,10 @@ vfs_mountroot_try(char *mountfrom)
int error;
char patt[32];
vfsname = path = mp = NULL;
error = EINVAL;
vfsname = NULL;
path = NULL;
mp = NULL;
error = EINVAL;
if (mountfrom == NULL)
goto done;

View File

@ -167,8 +167,10 @@ vfs_mountroot_try(char *mountfrom)
int error;
char patt[32];
vfsname = path = mp = NULL;
error = EINVAL;
vfsname = NULL;
path = NULL;
mp = NULL;
error = EINVAL;
if (mountfrom == NULL)
goto done;