forked from osmocom/wireshark
expert_add_info(): we can't use va_start()/va_end() so don't try to use a va_list (which isn't used by the called function) either.
svn path=/trunk/; revision=49564
This commit is contained in:
parent
44b437c331
commit
71bc722866
|
@ -366,14 +366,12 @@ expert_add_info_format(packet_info *pinfo, proto_item *pi, int group, int severi
|
|||
void
|
||||
expert_add_info(packet_info *pinfo, proto_item *pi, expert_field *expindex)
|
||||
{
|
||||
va_list ap;
|
||||
expert_field_info* eiinfo;
|
||||
|
||||
/* Look up the item */
|
||||
EXPERT_REGISTRAR_GET_NTH(expindex->ei, eiinfo);
|
||||
|
||||
/* Not used by expert_set_info_vformat, but need the variable initialized */
|
||||
expert_set_info_vformat(pinfo, pi, eiinfo->group, eiinfo->severity, *eiinfo->hf_info.p_id, FALSE, eiinfo->summary, ap);
|
||||
expert_set_info_vformat(pinfo, pi, eiinfo->group, eiinfo->severity, *eiinfo->hf_info.p_id, FALSE, eiinfo->summary, NULL);
|
||||
}
|
||||
|
||||
void
|
||||
|
|
Loading…
Reference in New Issue