aboutsummaryrefslogtreecommitdiffstats
path: root/packet-smb-pipe.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2001-11-21 02:01:06 +0000
committerGuy Harris <guy@alum.mit.edu>2001-11-21 02:01:06 +0000
commit60fe401dc7a1d0f1d11f0e1f4e7b1cd29d5e7f5d (patch)
tree3406b514e1c09bdc54bfc77913edb0688d160265 /packet-smb-pipe.c
parent10da28737f65d468bb2d6d69005ee926f771e06f (diff)
Get rid of some unused variables.
svn path=/trunk/; revision=4241
Diffstat (limited to 'packet-smb-pipe.c')
-rw-r--r--packet-smb-pipe.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/packet-smb-pipe.c b/packet-smb-pipe.c
index fc4547e0d6..6d4c39601b 100644
--- a/packet-smb-pipe.c
+++ b/packet-smb-pipe.c
@@ -8,7 +8,7 @@ XXX Fixme : shouldnt show [malformed frame] for long packets
* significant rewrite to tvbuffify the dissector, Ronnie Sahlberg and
* Guy Harris 2001
*
- * $Id: packet-smb-pipe.c,v 1.51 2001/11/20 09:07:31 guy Exp $
+ * $Id: packet-smb-pipe.c,v 1.52 2001/11/21 02:01:03 guy Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -1233,7 +1233,7 @@ find_lanman(int lanman_num)
static const guchar *
get_count(const guchar *desc, int *countp)
{
- int count = 0, off = 0;
+ int count = 0;
guchar c;
if (!isdigit(*desc)) {
@@ -1978,11 +1978,9 @@ dissect_pipe_lanman(tvbuff_t *pd_tvb, tvbuff_t *p_tvb, tvbuff_t *d_tvb,
gboolean has_data;
gboolean has_ent_count;
guint16 ent_count, aux_count;
- guint i, j;
+ guint i;
proto_item *data_item;
proto_tree *data_tree;
- proto_item *entry_item;
- proto_tree *entry_tree;
if (!proto_is_protocol_enabled(proto_smb_lanman))
return FALSE;
@@ -2609,7 +2607,6 @@ dissect_pipe_smb(tvbuff_t *sp_tvb, tvbuff_t *s_tvb, tvbuff_t *pd_tvb,
int offset;
int function;
int fid = -1;
- int len;
guint16 info_level;
if (!proto_is_protocol_enabled(proto_smb_pipe))