diff options
author | Guy Harris <guy@alum.mit.edu> | 2001-11-21 02:01:06 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2001-11-21 02:01:06 +0000 |
commit | 60fe401dc7a1d0f1d11f0e1f4e7b1cd29d5e7f5d (patch) | |
tree | 3406b514e1c09bdc54bfc77913edb0688d160265 /packet-nbns.c | |
parent | 10da28737f65d468bb2d6d69005ee926f771e06f (diff) | |
download | wireshark-60fe401dc7a1d0f1d11f0e1f4e7b1cd29d5e7f5d.tar.gz wireshark-60fe401dc7a1d0f1d11f0e1f4e7b1cd29d5e7f5d.tar.bz2 wireshark-60fe401dc7a1d0f1d11f0e1f4e7b1cd29d5e7f5d.zip |
Get rid of some unused variables.
svn path=/trunk/; revision=4241
Diffstat (limited to 'packet-nbns.c')
-rw-r--r-- | packet-nbns.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/packet-nbns.c b/packet-nbns.c index 85835281b7..1c7647b74a 100644 --- a/packet-nbns.c +++ b/packet-nbns.c @@ -3,7 +3,7 @@ * to when it had only NBNS) * Guy Harris <guy@alum.mit.edu> * - * $Id: packet-nbns.c,v 1.64 2001/11/13 23:55:30 gram Exp $ + * $Id: packet-nbns.c,v 1.65 2001/11/21 02:01:05 guy Exp $ * * Ethereal - Network traffic analyzer * By Gerald Combs <gerald@ethereal.com> @@ -1154,7 +1154,6 @@ dissect_nbdgm(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) proto_tree *nbdgm_tree = NULL; proto_item *ti = NULL; struct nbdgm_header header; - int msglen; int flags; int message_index; tvbuff_t *next_tvb; @@ -1276,6 +1275,8 @@ dissect_nbdgm(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) * Here we can pass the packet off to the next protocol. * Set the length of our top-level tree item to include * only our stuff. + * + * XXX - take the datagram length into account? */ proto_item_set_len(ti, offset); next_tvb = tvb_new_subset(tvb, offset, -1, -1); |