Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/ipf/netinet Remove unused variable
details: https://anonhg.NetBSD.org/src/rev/5e8b31b884b0
branches: trunk
changeset: 789913:5e8b31b884b0
user: martin <martin%NetBSD.org@localhost>
date: Thu Sep 12 20:03:10 2013 +0000
description:
Remove unused variable
diffstat:
sys/external/bsd/ipf/netinet/fil.c | 8 +++-----
1 files changed, 3 insertions(+), 5 deletions(-)
diffs (41 lines):
diff -r a9ef8c618283 -r 5e8b31b884b0 sys/external/bsd/ipf/netinet/fil.c
--- a/sys/external/bsd/ipf/netinet/fil.c Thu Sep 12 20:00:15 2013 +0000
+++ b/sys/external/bsd/ipf/netinet/fil.c Thu Sep 12 20:03:10 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: fil.c,v 1.10 2013/08/30 15:00:08 rmind Exp $ */
+/* $NetBSD: fil.c,v 1.11 2013/09/12 20:03:10 martin Exp $ */
/*
* Copyright (C) 2012 by Darren Reed.
@@ -138,7 +138,7 @@
#if !defined(lint)
#if defined(__NetBSD__)
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: fil.c,v 1.10 2013/08/30 15:00:08 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: fil.c,v 1.11 2013/09/12 20:03:10 martin Exp $");
#else
static const char sccsid[] = "@(#)fil.c 1.36 6/5/96 (C) 1993-2000 Darren Reed";
static const char rcsid[] = "@(#)Id: fil.c,v 1.1.1.2 2012/07/22 13:45:07 darrenr Exp $";
@@ -4330,13 +4330,12 @@
{
int error = 0, in, family, addrem, need_free = 0;
frentry_t frd, *fp, *f, **fprev, **ftail;
- void *ptr, *uptr, *cptr;
+ void *ptr, *uptr;
u_int *p, *pp;
frgroup_t *fg;
char *group;
ptr = NULL;
- cptr = NULL;
fg = NULL;
fp = &frd;
if (makecopy != 0) {
@@ -4446,7 +4445,6 @@
}
ptr = NULL;
- cptr = NULL;
if (FR_ISACCOUNT(fp->fr_flags))
unit = IPL_LOGCOUNT;
Home |
Main Index |
Thread Index |
Old Index