Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/fs/tmpfs mark variable __diagused



details:   https://anonhg.NetBSD.org/src/rev/9863335c70e0
branches:  trunk
changeset: 791248:9863335c70e0
user:      christos <christos%NetBSD.org@localhost>
date:      Sun Nov 10 03:20:20 2013 +0000

description:
mark variable __diagused

diffstat:

 sys/fs/tmpfs/tmpfs_subr.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 66a712682b51 -r 9863335c70e0 sys/fs/tmpfs/tmpfs_subr.c
--- a/sys/fs/tmpfs/tmpfs_subr.c Sun Nov 10 03:14:16 2013 +0000
+++ b/sys/fs/tmpfs/tmpfs_subr.c Sun Nov 10 03:20:20 2013 +0000
@@ -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 @@
        uint32_t seq = de->td_seq;
        vmem_t *seq_arena;
        vmem_addr_t off;
-       int error;
+       int error __diagused;
 
        TMPFS_VALIDATE_DIR(dnode);
 



Home | Main Index | Thread Index | Old Index