Module Name: src
Committed By: mrg
Date: Wed Oct 30 08:27:01 UTC 2013
Modified Files:
src/sys/fs/efs: efs_subr.c
Log Message:
use __diagused where appropriate.
To generate a diff of this commit:
cvs rdiff -u -r1.9 -r1.10 src/sys/fs/efs/efs_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/efs/efs_subr.c
diff -u src/sys/fs/efs/efs_subr.c:1.9 src/sys/fs/efs/efs_subr.c:1.10
--- src/sys/fs/efs/efs_subr.c:1.9 Sun Oct 20 21:12:08 2013
+++ src/sys/fs/efs/efs_subr.c Wed Oct 30 08:27:01 2013
@@ -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 <[email protected]>
@@ -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 @@ efs_dirblk_lookup(struct efs_dirblk *dir
ino_t *inode)
{
struct efs_dirent *de;
- int i, slot, offset;
+ int i, slot __diagused, offset;
KASSERT(cn->cn_namelen <= EFS_DIRENT_NAMELEN_MAX);