diff options
author | Guy Harris <guy@alum.mit.edu> | 2012-11-28 20:31:13 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2012-11-28 20:31:13 +0000 |
commit | fe9fe6b6e9069e07b9c491918e3e6f127395236c (patch) | |
tree | 7375d7c2810a2cbb5708e7eb33f349a46eb89af8 /epan/dissectors/packet-bpdu.c | |
parent | bab056d43cf3489965da72a077674197fcdcda3e (diff) |
Squelch a "may be uninitialized" warning.
svn path=/trunk/; revision=46255
Diffstat (limited to 'epan/dissectors/packet-bpdu.c')
-rw-r--r-- | epan/dissectors/packet-bpdu.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/dissectors/packet-bpdu.c b/epan/dissectors/packet-bpdu.c index 78785e5d0c..87e7f3a98b 100644 --- a/epan/dissectors/packet-bpdu.c +++ b/epan/dissectors/packet-bpdu.c @@ -662,9 +662,8 @@ dissect_bpdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) } if (protocol_version_identifier == 3) { set_actual_length(tvb, BPDU_MSTI + total_msti_length); - } else { - msti_len_temp = total_msti_length; } + msti_len_temp = total_msti_length; mstp_item = proto_tree_add_text(bpdu_tree, tvb, BPDU_VERSION_3_LENGTH, -1, "MST Extension"); |