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 a variable as __diagused.
details: https://anonhg.NetBSD.org/src/rev/fa2c18b98e95
branches: trunk
changeset: 814225:fa2c18b98e95
user: martin <martin%NetBSD.org@localhost>
date: Sat Mar 12 11:45:59 2016 +0000
description:
Mark a variable as __diagused.
diffstat:
sys/fs/tmpfs/tmpfs_vnops.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r e75a13e13808 -r fa2c18b98e95 sys/fs/tmpfs/tmpfs_vnops.c
--- a/sys/fs/tmpfs/tmpfs_vnops.c Sat Mar 12 10:51:00 2016 +0000
+++ b/sys/fs/tmpfs/tmpfs_vnops.c Sat Mar 12 11:45:59 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tmpfs_vnops.c,v 1.125 2016/03/12 10:51:00 kardel Exp $ */
+/* $NetBSD: tmpfs_vnops.c,v 1.126 2016/03/12 11:45:59 martin Exp $ */
/*
* Copyright (c) 2005, 2006, 2007 The NetBSD Foundation, Inc.
@@ -35,7 +35,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tmpfs_vnops.c,v 1.125 2016/03/12 10:51:00 kardel Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tmpfs_vnops.c,v 1.126 2016/03/12 11:45:59 martin Exp $");
#include <sys/param.h>
#include <sys/dirent.h>
@@ -567,7 +567,7 @@
const int ioflag = ap->a_ioflag;
tmpfs_node_t *node;
struct uvm_object *uobj;
- off_t oldsize;
+ off_t oldsize __diagused;
int error;
KASSERT(VOP_ISLOCKED(vp));
Home |
Main Index |
Thread Index |
Old Index