summaryrefslogtreecommitdiff
path: root/packet-ospf.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2002-05-11 18:43:09 +0000
committerGuy Harris <guy@alum.mit.edu>2002-05-11 18:43:09 +0000
commit00e94b5ca09e5c66bbe4073275b0f67f86903058 (patch)
tree7b8a0795e6261650f7ada6121d8be3d1e5ac4ec4 /packet-ospf.c
parentae88c45ef0e996600f277bb74261f42ced995b6c (diff)
downloadwireshark-00e94b5ca09e5c66bbe4073275b0f67f86903058.tar.gz
Get rid of an unused variable.
svn path=/trunk/; revision=5442
Diffstat (limited to 'packet-ospf.c')
-rw-r--r--packet-ospf.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/packet-ospf.c b/packet-ospf.c
index 46f0149400..eb2cfa1453 100644
--- a/packet-ospf.c
+++ b/packet-ospf.c
@@ -2,7 +2,7 @@
* Routines for OSPF packet disassembly
* (c) Copyright Hannes R. Boehm <hannes@boehm.org>
*
- * $Id: packet-ospf.c,v 1.62 2002/05/10 18:37:38 ashokn Exp $
+ * $Id: packet-ospf.c,v 1.63 2002/05/11 18:43:09 guy Exp $
*
* At this time, this module is able to analyze OSPF
* packets as specified in RFC2328. MOSPF (RFC1584) and other
@@ -358,8 +358,6 @@ static guint8 ospf_msg_type_to_filter (guint8 msg_type)
static guint8 ospf_ls_type_to_filter (guint8 ls_type)
{
- int r;
-
if (ls_type >= OSPF_LSTYPE_ROUTER &&
ls_type <= OSPF_LSTYPE_EXTATTR)
return OSPFF_LS_MIN + ls_type;