aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--epan/conversation.c4
-rw-r--r--epan/packet.c5
-rw-r--r--epan/resolv.c5
-rw-r--r--gtk/packet_win.c4
4 files changed, 4 insertions, 14 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
diff --git a/gtk/packet_win.c b/gtk/packet_win.c
index 8f016bb2c4..b0056529e5 100644
--- a/gtk/packet_win.c
+++ b/gtk/packet_win.c
@@ -3,7 +3,7 @@
*
* Copyright 2000, Jeffrey C. Foster <jfoste@woodward.com>
*
- * $Id: packet_win.c,v 1.25 2001/11/20 10:37:16 guy Exp $
+ * $Id: packet_win.c,v 1.26 2001/11/21 01:02:03 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -133,8 +133,6 @@ create_new_window(char *Title, gint tv_size, gint bv_size)
*bv_scrollw,
*bv_nb_ptr;
struct PacketWinData *DataPtr;
- int i;
- tvbuff_t* bv_tvb;
main_w = gtk_window_new(GTK_WINDOW_TOPLEVEL);