diff options
author | Guy Harris <guy@alum.mit.edu> | 2002-04-29 08:20:18 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2002-04-29 08:20:18 +0000 |
commit | 9a80f0a5212d8ad6704cebefbaf091a473ab04a4 (patch) | |
tree | 53112d7b0bd3805cf4f0a1184361d95493a61129 /packet-iscsi.c | |
parent | 30f02bc99cb3a578758c76cc6cb0c8278273e6be (diff) |
Removal (or, at least, #ifdeffing out) of unused variables and
functions, from David Frascone.
svn path=/trunk/; revision=5288
Diffstat (limited to 'packet-iscsi.c')
-rw-r--r-- | packet-iscsi.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packet-iscsi.c b/packet-iscsi.c index 892afa423d..3a9445aa0c 100644 --- a/packet-iscsi.c +++ b/packet-iscsi.c @@ -7,7 +7,7 @@ * draft-ietf-ips-iscsi-09.txt by defining DRAFT09 * draft-ietf-ips-iscsi-08.txt by defining DRAFT08 * - * $Id: packet-iscsi.c,v 1.29 2002/04/04 23:24:09 guy Exp $ + * $Id: packet-iscsi.c,v 1.30 2002/04/29 08:20:08 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -155,7 +155,9 @@ static int hf_iscsi_Login_X = -1; static int hf_iscsi_Login_T = -1; static int hf_iscsi_Login_CSG = -1; static int hf_iscsi_Login_NSG = -1; +#ifdef ISCSI_UNUSED_HANDLES static int hf_iscsi_Login_Stage = -1; +#endif static int hf_iscsi_Login_Status = -1; static int hf_iscsi_KeyValue = -1; static int hf_iscsi_Text_F = -1; @@ -721,7 +723,6 @@ dissect_iscsi_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, guint off guint original_offset = offset; proto_tree *ti = NULL; - char *scsi_command_name = NULL; guint8 scsi_status = 0; guint cdb_offset = offset + 32; /* offset of CDB from start of PDU */ guint end_offset = offset + tvb_length_remaining(tvb, offset); |