summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkstailey <kstailey@openbsd.org>1997-01-15 03:52:27 +0000
committerkstailey <kstailey@openbsd.org>1997-01-15 03:52:27 +0000
commitf9ebaa5f1e1da775742ffaa3e3f5b0542b2372a6 (patch)
tree60f7f4c10151e56a0dadec784e40086877119abb
parentprevent warning: (diff)
downloadwireguard-openbsd-f9ebaa5f1e1da775742ffaa3e3f5b0542b2372a6.tar.xz
wireguard-openbsd-f9ebaa5f1e1da775742ffaa3e3f5b0542b2372a6.zip
prevent -Wall warning:
nfs_vfsops.c:456: warning: `adjsock' might be used uninitialized in this function
-rw-r--r--sys/nfs/nfs_vfsops.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/nfs/nfs_vfsops.c b/sys/nfs/nfs_vfsops.c
index 9a1a94f8bf9..0e00077f5c4 100644
--- a/sys/nfs/nfs_vfsops.c
+++ b/sys/nfs/nfs_vfsops.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs_vfsops.c,v 1.15 1996/12/24 20:14:32 dm Exp $ */
+/* $OpenBSD: nfs_vfsops.c,v 1.16 1997/01/15 03:52:27 kstailey Exp $ */
/* $NetBSD: nfs_vfsops.c,v 1.46.4.1 1996/05/25 22:40:35 fvdl Exp $ */
/*
@@ -453,7 +453,7 @@ nfs_decode_args(nmp, argp)
struct nfs_args *argp;
{
int s;
- int adjsock;
+ int adjsock = 0;
int maxio;
s = splsoftnet();