forked from osmocom/wireshark
nettrace: fix var init.
Error: ../wiretap/nettrace_3gpp_32_423.c:745:47: error: missing field 'src_ip' initializer [-Werror,-Wmissing-field-initializers] exported_pdu_info_t exported_pdu_info = { 0 }; ^ 1 error generated. ninja: build stopped: subcommand failed. Change-Id: I6c083b474854ea062f0a1c9f94e83af83574fc91 Reviewed-on: https://code.wireshark.org/review/30661 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
parent
9fe5d3729f
commit
76b80712ee
|
@ -742,7 +742,9 @@ create_temp_pcapng_file(wtap *wth, int *err, gchar **err_info, nettrace_3gpp_32_
|
|||
gsize opt_len;
|
||||
gchar *opt_str;
|
||||
/* Info to build exported_pdu tags*/
|
||||
exported_pdu_info_t exported_pdu_info = { 0 };
|
||||
exported_pdu_info_t exported_pdu_info;
|
||||
|
||||
memset(&exported_pdu_info, 0x0, sizeof(exported_pdu_info_t));
|
||||
|
||||
import_file_fd = create_tempfile(&(file_info->tmpname), "Wireshark_PDU_", NULL);
|
||||
|
||||
|
|
Loading…
Reference in New Issue