Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/nfs add one more __unused attribute to shut gcc4.8 off.
details: https://anonhg.NetBSD.org/src/rev/c2e03d57503a
branches: trunk
changeset: 791388:c2e03d57503a
user: nisimura <nisimura%NetBSD.org@localhost>
date: Fri Nov 15 14:39:53 2013 +0000
description:
add one more __unused attribute to shut gcc4.8 off.
diffstat:
sys/nfs/nfs_vnops.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r 3e08106a1884 -r c2e03d57503a sys/nfs/nfs_vnops.c
--- a/sys/nfs/nfs_vnops.c Fri Nov 15 13:56:21 2013 +0000
+++ b/sys/nfs/nfs_vnops.c Fri Nov 15 14:39:53 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: nfs_vnops.c,v 1.300 2013/09/14 22:29:08 martin Exp $ */
+/* $NetBSD: nfs_vnops.c,v 1.301 2013/11/15 14:39:53 nisimura Exp $ */
/*
* Copyright (c) 1989, 1993
@@ -39,7 +39,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: nfs_vnops.c,v 1.300 2013/09/14 22:29:08 martin Exp $");
+__KERNEL_RCSID(0, "$NetBSD: nfs_vnops.c,v 1.301 2013/11/15 14:39:53 nisimura Exp $");
#ifdef _KERNEL_OPT
#include "opt_nfs.h"
@@ -1164,7 +1164,7 @@
char *bpos, *dpos, *cp2;
struct mbuf *mreq, *mrep, *md, *mb;
struct nfsmount *nmp;
- int error = 0, len, retlen, tsiz, eof, byte_count;
+ int error = 0, len, retlen, tsiz, eof __unused, byte_count;
const int v3 = NFS_ISV3(vp);
struct nfsnode *np = VTONFS(vp);
#ifndef NFS_V2_ONLY
Home |
Main Index |
Thread Index |
Old Index