Source-Changes-HG archive

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

[src/trunk]: src/sys/ufs/ufs Mark a diagnostic-only variable



details:   https://anonhg.NetBSD.org/src/rev/61fdb0723261
branches:  trunk
changeset: 790874:61fdb0723261
user:      martin <martin%NetBSD.org@localhost>
date:      Fri Oct 25 16:34:20 2013 +0000

description:
Mark a diagnostic-only variable

diffstat:

 sys/ufs/ufs/ufs_lookup.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 17666cbfde35 -r 61fdb0723261 sys/ufs/ufs/ufs_lookup.c
--- a/sys/ufs/ufs/ufs_lookup.c  Fri Oct 25 16:23:46 2013 +0000
+++ b/sys/ufs/ufs/ufs_lookup.c  Fri Oct 25 16:34:20 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ufs_lookup.c,v 1.126 2013/10/20 00:29:10 htodd Exp $   */
+/*     $NetBSD: ufs_lookup.c,v 1.127 2013/10/25 16:34:20 martin Exp $  */
 
 /*
  * Copyright (c) 1989, 1993
@@ -37,7 +37,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ufs_lookup.c,v 1.126 2013/10/20 00:29:10 htodd Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ufs_lookup.c,v 1.127 2013/10/25 16:34:20 martin Exp $");
 
 #ifdef _KERNEL_OPT
 #include "opt_ffs.h"
@@ -1480,7 +1480,7 @@
 ufs_blkatoff(struct vnode *vp, off_t offset, char **res, struct buf **bpp,
     bool modify)
 {
-       struct inode *ip;
+       struct inode *ip __diagused;
        struct buf *bp;
        daddr_t lbn;
        const int dirrablks = ufs_dirrablks;



Home | Main Index | Thread Index | Old Index