diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-11-21 01:02:03 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-11-21 01:02:03 +0000 |
commit | 6f776aa40d3bd57d6e8fe0a5f6e580dbcda6d70a (patch) | |
tree | 0d4f9e8ca8d11a0f1011e776162b5d597cc23e57 /epan | |
parent | ecaca4b768218da6d71bd688c376500a80a9255c (diff) |
Get rid of some unused variables.
svn path=/trunk/; revision=4239
Diffstat (limited to 'epan')
-rw-r--r-- | epan/conversation.c | 4 | ||||
-rw-r--r-- | epan/packet.c | 5 | ||||
-rw-r--r-- | epan/resolv.c | 5 |
3 files changed, 3 insertions, 11 deletions
diff --git a/epan/conversation.c b/epan/conversation.c index ce8c99c3ac..036a94ddc2 100644 --- a/epan/conversation.c +++ b/epan/conversation.c @@ -1,7 +1,7 @@ /* conversation.c * Routines for building lists of packets that are part of a "conversation" * - * $Id: conversation.c,v 1.14 2001/10/31 05:59:19 guy Exp $ + * $Id: conversation.c,v 1.15 2001/11/21 01:00:37 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -918,8 +918,6 @@ try_conversation_dissector(address *addr_a, address *addr_b, port_type ptype, proto_tree *tree) { conversation_t *conversation; - const guint8 *pd; - int offset; conversation = find_conversation(addr_a, addr_b, ptype, port_a, port_b, 0); diff --git a/epan/packet.c b/epan/packet.c index d9ba602360..60dbb9264d 100644 --- a/epan/packet.c +++ b/epan/packet.c @@ -1,7 +1,7 @@ /* packet.c * Routines for packet disassembly * - * $Id: packet.c,v 1.39 2001/11/20 22:29:07 guy Exp $ + * $Id: packet.c,v 1.40 2001/11/21 01:00:37 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -104,7 +104,6 @@ void set_actual_length(tvbuff_t *tvb, packet_info *pinfo, guint specified_len) { guint payload_len, reported_payload_len; - int padding; /* Length of payload handed to us. */ reported_payload_len = tvb_reported_length(tvb); @@ -348,8 +347,6 @@ dissector_try_port(dissector_table_t sub_dissectors, guint32 port, tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) { dtbl_entry_t *dtbl_entry; - const guint8 *pd; - int offset; const char *saved_proto; guint32 saved_match_port; diff --git a/epan/resolv.c b/epan/resolv.c index 947853a9bd..831187c851 100644 --- a/epan/resolv.c +++ b/epan/resolv.c @@ -1,7 +1,7 @@ /* resolv.c * Routines for network object lookup * - * $Id: resolv.c,v 1.17 2001/10/26 17:29:09 gram Exp $ + * $Id: resolv.c,v 1.18 2001/11/21 01:00:37 guy Exp $ * * Laurent Deniel <deniel@worldnet.fr> * @@ -622,7 +622,6 @@ static hashmanuf_t *manuf_name_lookup(const guint8 *addr) static void initialize_ethers(void) { - char *dir; ether_t *eth; char *manuf_path; @@ -926,8 +925,6 @@ static ipxnet_t *get_ipxnetbyaddr(guint32 addr) static void initialize_ipxnets(void) { - char *dir; - /* Compute the pathname of the ipxnets file. * * XXX - is there a notion of an "ipxnets file" in any flavor of |