Moved the block for second octet to avoid a warning about an uninitialized
variable. svn path=/trunk/; revision=30332
This commit is contained in:
parent
0488967f29
commit
be0f4aa44b
1 changed files with 17 additions and 16 deletions
|
@ -3300,7 +3300,7 @@ de_sup_codec_list(tvbuff_t *tvb, proto_tree *tree, guint32 offset, guint len _U_
|
|||
proto_tree_add_item(subtree, hf_gsm_a_codec_gsm_hr, tvb, curr_offset, 1, FALSE);
|
||||
proto_tree_add_item(subtree, hf_gsm_a_codec_gsm_fr, tvb, curr_offset, 1, FALSE);
|
||||
length--;
|
||||
}
|
||||
|
||||
if (length > 0)
|
||||
{
|
||||
/*
|
||||
|
@ -3316,6 +3316,7 @@ de_sup_codec_list(tvbuff_t *tvb, proto_tree *tree, guint32 offset, guint len _U_
|
|||
proto_tree_add_item(subtree, hf_gsm_a_codec_pdc_efr, tvb, curr_offset, 1, FALSE);
|
||||
length--;
|
||||
}
|
||||
}
|
||||
|
||||
curr_offset = curr_offset + length;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue