Fix "set but unused" compiler error.

svn path=/trunk/; revision=45196
This commit is contained in:
Bill Meier 2012-09-28 19:56:16 +00:00
parent 562c890560
commit daab50bc27
1 changed files with 0 additions and 2 deletions

View File

@ -464,7 +464,6 @@ dissect_pw_mcw(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
{
tvbuff_t *next_tvb;
guint8 length;
guint16 sequence_number;
if (tvb_reported_length_remaining(tvb, 0) < 4) {
proto_tree_add_text(tree, tvb, 0, -1, "Error processing Message");
@ -477,7 +476,6 @@ dissect_pw_mcw(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
/* bits 4 to 7 and FRG bits are displayed together */
length = tvb_get_guint8(tvb, 1) & 0x3F;
sequence_number = tvb_get_ntohs(tvb, 2);
if (tree) {
proto_tree *mpls_pw_mcw_tree;
proto_item *ti;