aboutsummaryrefslogtreecommitdiffstats
path: root/packet-nbns.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-nbns.c
parent10da28737f65d468bb2d6d69005ee926f771e06f (diff)
Get rid of some unused variables.
svn path=/trunk/; revision=4241
Diffstat (limited to 'packet-nbns.c')
-rw-r--r--packet-nbns.c5
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);