aboutsummaryrefslogtreecommitdiffstats
path: root/packet-ospf.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2002-05-11 18:43:09 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2002-05-11 18:43:09 +0000
commitbf987ef71ebaab38d2926ab248a2ea3a5abd2d79 (patch)
tree7b8a0795e6261650f7ada6121d8be3d1e5ac4ec4 /packet-ospf.c
parent81eee4296a0034daf85c32656b4f9921a53eaade (diff)
Get rid of an unused variable.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@5442 f5534014-38df-0310-8fa8-9805f1628bb7
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;