summaryrefslogtreecommitdiffstats
path: root/sys/kern/vfs_mount.c
diff options
context:
space:
mode:
authormsmith <msmith@FreeBSD.org>1999-11-06 07:43:22 +0000
committermsmith <msmith@FreeBSD.org>1999-11-06 07:43:22 +0000
commitbd87d69eda3d704f97820326f8f17b533446670b (patch)
tree7e61f8ff90a92a616d70da7f0e8026c77001f89e /sys/kern/vfs_mount.c
parent52caff0893d5a4c7c4086fc1f537b517c66dcbf7 (diff)
downloadFreeBSD-src-bd87d69eda3d704f97820326f8f17b533446670b.zip
FreeBSD-src-bd87d69eda3d704f97820326f8f17b533446670b.tar.gz
Clean up a couple of initialisations in order to suppress a correct
but un-useful warning.
Diffstat (limited to 'sys/kern/vfs_mount.c')
-rw-r--r--sys/kern/vfs_mount.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/kern/vfs_mount.c b/sys/kern/vfs_mount.c
index 654d693..973c836 100644
--- a/sys/kern/vfs_mount.c
+++ b/sys/kern/vfs_mount.c
@@ -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;
OpenPOWER on IntegriCloud