forked from osmocom/wireshark
Get rid of some unused variables.
svn path=/trunk/; revision=4239
This commit is contained in:
parent
ecaca4b768
commit
6f776aa40d
|
@ -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);
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue