forked from osmocom/wireshark
From Evan Huus: Unnecessary branch in dfvm.c
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7354 svn path=/trunk/; revision=43192
This commit is contained in:
parent
7c7856d41b
commit
ec84ce59b5
|
@ -316,11 +316,7 @@ read_tree(dfilter_t *df, proto_tree *tree, header_field_info *hfinfo, int reg)
|
|||
|
||||
while (hfinfo) {
|
||||
finfos = proto_get_finfo_ptr_array(tree, hfinfo->id);
|
||||
if (!finfos) {
|
||||
hfinfo = hfinfo->same_name_next;
|
||||
continue;
|
||||
}
|
||||
else if (g_ptr_array_len(finfos) == 0) {
|
||||
if ((finfos == NULL) || (g_ptr_array_len(finfos) == 0)) {
|
||||
hfinfo = hfinfo->same_name_next;
|
||||
continue;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue