Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86/pci Mark a variable __diagused as it is only ev...
details: https://anonhg.NetBSD.org/src/rev/bb0c5552d9cd
branches: trunk
changeset: 349198:bb0c5552d9cd
user: martin <martin%NetBSD.org@localhost>
date: Mon Nov 28 20:12:41 2016 +0000
description:
Mark a variable __diagused as it is only ever used in a KASSERT
diffstat:
sys/arch/x86/pci/if_vmx.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r b3a854d24930 -r bb0c5552d9cd sys/arch/x86/pci/if_vmx.c
--- a/sys/arch/x86/pci/if_vmx.c Mon Nov 28 18:25:26 2016 +0000
+++ b/sys/arch/x86/pci/if_vmx.c Mon Nov 28 20:12:41 2016 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: if_vmx.c,v 1.9 2016/11/25 06:48:37 hikaru Exp $ */
+/* $NetBSD: if_vmx.c,v 1.10 2016/11/28 20:12:41 martin Exp $ */
/* $OpenBSD: if_vmx.c,v 1.16 2014/01/22 06:04:17 brad Exp $ */
/*
@@ -19,7 +19,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: if_vmx.c,v 1.9 2016/11/25 06:48:37 hikaru Exp $");
+__KERNEL_RCSID(0, "$NetBSD: if_vmx.c,v 1.10 2016/11/28 20:12:41 martin Exp $");
#include <sys/param.h>
#include <sys/cpu.h>
@@ -2006,7 +2006,7 @@
struct ifnet *ifp;
struct vmxnet3_rxring *rxr;
struct vmxnet3_comp_ring *rxc;
- struct vmxnet3_rxdesc *rxd;
+ struct vmxnet3_rxdesc *rxd __diagused;
struct vmxnet3_rxcompdesc *rxcd;
struct mbuf *m, *m_head, *m_tail;
int idx, length;
- Prev by Date:
[src/trunk]: src/lib/libcurses If we are inserting spaces to account for a ta...
- Next by Date:
[src/trunk]: src/tests/kernel Add new test step1 in t_prace_wait{, 3, 4, 6, id, pi...
- Previous by Thread:
[src/trunk]: src/lib/libcurses If we are inserting spaces to account for a ta...
- Next by Thread:
[src/trunk]: src/tests/kernel Add new test step1 in t_prace_wait{, 3, 4, 6, id, pi...
- Indexes:
Home |
Main Index |
Thread Index |
Old Index