Module Name: src Committed By: christos Date: Sun Nov 10 03:20:20 UTC 2013
Modified Files: src/sys/fs/tmpfs: tmpfs_subr.c Log Message: mark variable __diagused To generate a diff of this commit: cvs rdiff -u -r1.83 -r1.84 src/sys/fs/tmpfs/tmpfs_subr.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/fs/tmpfs/tmpfs_subr.c diff -u src/sys/fs/tmpfs/tmpfs_subr.c:1.83 src/sys/fs/tmpfs/tmpfs_subr.c:1.84 --- src/sys/fs/tmpfs/tmpfs_subr.c:1.83 Fri Nov 8 10:44:23 2013 +++ src/sys/fs/tmpfs/tmpfs_subr.c Sat Nov 9 22:20:20 2013 @@ -1,4 +1,4 @@ -/* $NetBSD: tmpfs_subr.c,v 1.83 2013/11/08 15:44:23 rmind Exp $ */ +/* $NetBSD: tmpfs_subr.c,v 1.84 2013/11/10 03:20:20 christos Exp $ */ /* * Copyright (c) 2005-2013 The NetBSD Foundation, Inc. @@ -74,7 +74,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: tmpfs_subr.c,v 1.83 2013/11/08 15:44:23 rmind Exp $"); +__KERNEL_RCSID(0, "$NetBSD: tmpfs_subr.c,v 1.84 2013/11/10 03:20:20 christos Exp $"); #include <sys/param.h> #include <sys/dirent.h> @@ -623,7 +623,7 @@ tmpfs_dir_getseq(tmpfs_node_t *dnode, tm uint32_t seq = de->td_seq; vmem_t *seq_arena; vmem_addr_t off; - int error; + int error __diagused; TMPFS_VALIDATE_DIR(dnode);