Make what appear to be the intended changes so that all variables are used or

removed and it compiles.

svn path=/trunk/; revision=51341
This commit is contained in:
Evan Huus 2013-08-13 22:24:59 +00:00
parent 4771fdbb7e
commit 1eab806d9b
1 changed files with 1 additions and 3 deletions

View File

@ -1257,10 +1257,8 @@ dissect_payload_header(proto_tree *tree, tvbuff_t *tvb, packet_info *pinfo, int
proto_item *payload_item, *ti;
proto_tree *payload_tree;
int sdnv_length;
int header_start;
int payload_length;
header_start = offset; /*Used to compute total payload length*/
payload_item = proto_tree_add_text(tree, tvb, offset, -1, "Payload Header");
payload_tree = proto_item_add_subtree(payload_item, ett_payload_hdr);
@ -2306,7 +2304,7 @@ dissect_bundle(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _
/*
* Returns payload size or 0 if can't parse payload
*/
offset = dissect_payload_header(tree, tvb, pinfo, offset, version, pri_hdr_procflags, &lastheader);
offset = dissect_payload_header(bundle_tree, tvb, pinfo, offset, version, pri_hdr_procflags, &lastheader);
}
else { /*Assume anything else is a Metadata Block*/
offset = display_metadata_block(tree, tvb, offset, &lastheader);