cfdp: Fix bug ("Labeled code is unreachable")

Found by MSVC2013 Code Analysis

Change-Id: If8138ff3eab7daa1da728781314f8024e36545be
Reviewed-on: https://code.wireshark.org/review/6992
Reviewed-by: Bill Meier <wmeier@newsguy.com>
This commit is contained in:
Bill Meier 2015-02-06 16:18:30 -05:00
parent 501d996824
commit 49c27d3de9
1 changed files with 1 additions and 1 deletions

View File

@ -525,7 +525,7 @@ static guint32 dissect_cfdp_filestore_resp_tlv(tvbuff_t *tvb, proto_tree *tree,
aux_byte = tvb_get_guint8(tvb, offset);
proto_tree_add_uint(cfdp_filestore_resp_tree, hf_cfdp_action_code, tvb, offset, 1, aux_byte);
switch(aux_byte & 0xF0){
switch((aux_byte & 0xF0) >> 4){
case 0:
proto_tree_add_uint(cfdp_filestore_resp_tree, hf_cfdp_status_code_1, tvb, offset, 1, aux_byte);
break;