Module Name: src Committed By: martin Date: Fri Oct 25 20:37:17 UTC 2013
Modified Files: src/sys/kern: vfs_mount.c Log Message: Mark diagnostic-only variables To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 src/sys/kern/vfs_mount.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/kern/vfs_mount.c diff -u src/sys/kern/vfs_mount.c:1.21 src/sys/kern/vfs_mount.c:1.22 --- src/sys/kern/vfs_mount.c:1.21 Mon Sep 30 18:58:00 2013 +++ src/sys/kern/vfs_mount.c Fri Oct 25 20:37:17 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: vfs_mount.c,v 1.21 2013/09/30 18:58:00 hannken Exp $ */ +/* $NetBSD: vfs_mount.c,v 1.22 2013/10/25 20:37:17 martin Exp $ */ /*- * Copyright (c) 1997-2011 The NetBSD Foundation, Inc. @@ -67,7 +67,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: vfs_mount.c,v 1.21 2013/09/30 18:58:00 hannken Exp $"); +__KERNEL_RCSID(0, "$NetBSD: vfs_mount.c,v 1.22 2013/10/25 20:37:17 martin Exp $"); #include <sys/param.h> #include <sys/kernel.h> @@ -130,7 +130,7 @@ struct mount * vfs_mountalloc(struct vfsops *vfsops, vnode_t *vp) { struct mount *mp; - int error; + int error __diagused; mp = kmem_zalloc(sizeof(*mp), KM_SLEEP); if (mp == NULL) @@ -1233,7 +1233,7 @@ mount_specific_key_delete(specificdata_k void mount_initspecific(struct mount *mp) { - int error; + int error __diagused; error = specificdata_init(mount_specificdata_domain, &mp->mnt_specdataref);