aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-roofnet.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2006-12-24 20:40:19 +0000
committerGuy Harris <guy@alum.mit.edu>2006-12-24 20:40:19 +0000
commit3094d7e3f6e50764c9d03f9f90debc847ffcd0b9 (patch)
tree2ec18922b32f3d1dde7081415c785211a333f4f3 /epan/dissectors/packet-roofnet.c
parent4a780726ceb5a5eb238a17c8f7a4bdf169ba9eca (diff)
dissect_roofnet_link() returns no value and nothing expects it to;
declare it to return void, not int. Get rid of an unused variable. svn path=/trunk/; revision=20211
Diffstat (limited to 'epan/dissectors/packet-roofnet.c')
-rw-r--r--epan/dissectors/packet-roofnet.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/dissectors/packet-roofnet.c b/epan/dissectors/packet-roofnet.c
index 867a8031de..11d25a761b 100644
--- a/epan/dissectors/packet-roofnet.c
+++ b/epan/dissectors/packet-roofnet.c
@@ -133,7 +133,7 @@ static void dissect_roofnet_header(proto_tree *tree, tvbuff_t *tvb, guint *offse
/*
* dissect the description of link in roofnet
*/
-static int dissect_roofnet_link(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint link)
+static void dissect_roofnet_link(proto_tree *tree, tvbuff_t *tvb, guint *offset, guint link)
{
proto_item *it= NULL;
proto_tree *subtree= NULL;
@@ -203,7 +203,6 @@ static void dissect_roofnet(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
{
proto_item * it= NULL;
proto_tree * roofnet_tree= NULL;
- proto_tree * roofnet_links_tree= NULL;
guint offset= 0;
guint8 roofnet_msg_type= 0;