Source-Changes-HG archive

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

[src/trunk]: src/sys/fs/efs use __diagused where appropriate.



details:   https://anonhg.NetBSD.org/src/rev/27cee2ef59ba
branches:  trunk
changeset: 790995:27cee2ef59ba
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed Oct 30 08:27:01 2013 +0000

description:
use __diagused where appropriate.

diffstat:

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

diffs (27 lines):

diff -r 186f5d8d4d4d -r 27cee2ef59ba sys/fs/efs/efs_subr.c
--- a/sys/fs/efs/efs_subr.c     Wed Oct 30 06:47:18 2013 +0000
+++ b/sys/fs/efs/efs_subr.c     Wed Oct 30 08:27:01 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: efs_subr.c,v 1.9 2013/10/20 21:12:08 christos Exp $    */
+/*     $NetBSD: efs_subr.c,v 1.10 2013/10/30 08:27:01 mrg Exp $        */
 
 /*
  * Copyright (c) 2006 Stephen M. Rumble <rumble%ephemeral.org@localhost>
@@ -17,7 +17,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: efs_subr.c,v 1.9 2013/10/20 21:12:08 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: efs_subr.c,v 1.10 2013/10/30 08:27:01 mrg Exp $");
 
 #include <sys/param.h>
 #include <sys/kauth.h>
@@ -269,7 +269,7 @@
     ino_t *inode)
 {
        struct efs_dirent *de;
-       int i, slot, offset;
+       int i, slot __diagused, offset;
 
        KASSERT(cn->cn_namelen <= EFS_DIRENT_NAMELEN_MAX);
 



Home | Main Index | Thread Index | Old Index