aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2006-12-24 20:40:19 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2006-12-24 20:40:19 +0000
commit358b36654f91a588f2b7fc6ddebc69032e76cc08 (patch)
tree2ec18922b32f3d1dde7081415c785211a333f4f3
parentcefacc7ebe3ab84384d132f356d642a741dbabaa (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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@20211 f5534014-38df-0310-8fa8-9805f1628bb7
-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;