forked from osmocom/wireshark
radius: fix this condition has identical branches [-Werror=duplicated-branches] found by gcc7
Change-Id: I654ead4d834af90e14568a54c7a914a3774c05bc Reviewed-on: https://code.wireshark.org/review/20470 Reviewed-by: Peter Wu <peter@lekensteyn.nl>
This commit is contained in:
parent
6d584aad72
commit
e4b90a9451
|
@ -2303,9 +2303,11 @@ register_attrs(gpointer k _U_, gpointer v, gpointer p)
|
|||
hfri[2].hfinfo.display = BASE_NONE;
|
||||
|
||||
len_hf++;
|
||||
#if 0 /* Fix -Wduplicated-branches */
|
||||
} else if (a->type == radius_tlv) {
|
||||
hfri[0].hfinfo.type = FT_BYTES;
|
||||
hfri[0].hfinfo.display = BASE_NONE;
|
||||
#endif
|
||||
} else {
|
||||
hfri[0].hfinfo.type = FT_BYTES;
|
||||
hfri[0].hfinfo.display = BASE_NONE;
|
||||
|
|
Loading…
Reference in New Issue