Clean up a couple of initialisations in order to suppress a correct
but un-useful warning.
This commit is contained in:
parent
61f676b449
commit
91eef0b873
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user