forked from osmocom/wireshark
remove some dead code
coverity 191 svn path=/trunk/; revision=18556
This commit is contained in:
parent
332df10d7e
commit
143f429c61
1 changed files with 0 additions and 7 deletions
|
@ -1231,19 +1231,12 @@ DEBUG_ENTRY("dissect_per_sequence");
|
|||
|
||||
optional_mask=0;
|
||||
for(i=0;i<num_opts;i++){
|
||||
proto_item *it=NULL;
|
||||
offset=dissect_per_boolean(tvb, offset, actx, tree, hf_per_optional_field_bit, &optional_field_flag);
|
||||
if (!display_internal_per_fields) PROTO_ITEM_SET_HIDDEN(actx->created_item);
|
||||
optional_mask<<=1;
|
||||
if(optional_field_flag){
|
||||
optional_mask|=0x01;
|
||||
}
|
||||
if(it){
|
||||
proto_item_append_text(it, " (%s %s present)",
|
||||
index_get_optional_name(sequence, i),
|
||||
optional_field_flag?"is":"is NOT"
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue