Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netipsec Remove modification of an unused uninitialized ...
details: https://anonhg.NetBSD.org/src/rev/24fdd5a67b2b
branches: trunk
changeset: 327192:24fdd5a67b2b
user: joerg <joerg%NetBSD.org@localhost>
date: Sat Mar 01 12:55:23 2014 +0000
description:
Remove modification of an unused uninitialized variable.
diffstat:
sys/netipsec/key.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diffs (34 lines):
diff -r d59ac0f3bc9d -r 24fdd5a67b2b sys/netipsec/key.c
--- a/sys/netipsec/key.c Sat Mar 01 12:48:38 2014 +0000
+++ b/sys/netipsec/key.c Sat Mar 01 12:55:23 2014 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: key.c,v 1.85 2014/02/25 18:30:12 pooka Exp $ */
+/* $NetBSD: key.c,v 1.86 2014/03/01 12:55:23 joerg Exp $ */
/* $FreeBSD: src/sys/netipsec/key.c,v 1.3.2.3 2004/02/14 22:23:23 bms Exp $ */
/* $KAME: key.c,v 1.191 2001/06/27 10:46:49 sakane Exp $ */
@@ -32,7 +32,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: key.c,v 1.85 2014/02/25 18:30:12 pooka Exp $");
+__KERNEL_RCSID(0, "$NetBSD: key.c,v 1.86 2014/03/01 12:55:23 joerg Exp $");
/*
* This code is referd to RFC 2367
@@ -6997,7 +6997,6 @@
u_int8_t state;
int cnt;
struct mbuf *m, *n, *prev;
- int totlen;
*lenp = 0;
@@ -7057,7 +7056,6 @@
return (NULL);
}
- totlen += n->m_pkthdr.len;
if (!m)
m = n;
else
Home |
Main Index |
Thread Index |
Old Index