Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/pci/ixgbe Make it compilable without DIAGNOSTIC
details: https://anonhg.NetBSD.org/src/rev/55c38fddff25
branches: trunk
changeset: 339870:55c38fddff25
user: martin <martin%NetBSD.org@localhost>
date: Fri Aug 14 15:27:28 2015 +0000
description:
Make it compilable without DIAGNOSTIC
diffstat:
sys/dev/pci/ixgbe/ixv.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (21 lines):
diff -r 540987f4b4a1 -r 55c38fddff25 sys/dev/pci/ixgbe/ixv.c
--- a/sys/dev/pci/ixgbe/ixv.c Fri Aug 14 10:59:27 2015 +0000
+++ b/sys/dev/pci/ixgbe/ixv.c Fri Aug 14 15:27:28 2015 +0000
@@ -31,7 +31,7 @@
******************************************************************************/
/*$FreeBSD: head/sys/dev/ixgbe/ixv.c 275358 2014-12-01 11:45:24Z hselasky $*/
-/*$NetBSD: ixv.c,v 1.13 2015/08/14 06:05:40 msaitoh Exp $*/
+/*$NetBSD: ixv.c,v 1.14 2015/08/14 15:27:28 martin Exp $*/
#include "opt_inet.h"
#include "opt_inet6.h"
@@ -2497,7 +2497,7 @@
struct ip6_hdr ip6;
int ehdrlen, ip_hlen = 0;
u16 etype;
- u8 ipproto = 0;
+ u8 ipproto __diagused = 0;
bool offload;
int ctxd = txr->next_avail_desc;
u16 vtag = 0;
Home |
Main Index |
Thread Index |
Old Index