Wireshark-commits: [Wireshark-commits] master a621fde: enip: rearrange struct member to avoid -Wmis
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=a621fde38368b7811ef6c3bb644b415165476a55
Submitter: "Michael Mann <mmann78@xxxxxxxxxxxx>"
Changed: branch: master
Repository: wireshark
Commits:
a621fde by Peter Wu (peter@xxxxxxxxxxxxx):
enip: rearrange struct member to avoid -Wmissing-braces warning
Fix false positive warning:
epan/dissectors/packet-cipsafety.c:1960:37: warning: suggest braces around initialization of subobject [-Wmissing-braces]
enip_conn_val_t eip_conn_info = {0};
This is a Clang bug: https://bugs.llvm.org/show_bug.cgi?id=39931
Change-Id: I9f3040ae6bd4d5a2fafe21a37ac4b504933eabcf
Reviewed-on: https://code.wireshark.org/review/30979
Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
Tested-by: Petri Dish Buildbot
Reviewed-by: Dylan Ulis <daulis0@xxxxxxxxx>
Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
Actions performed:
from 9e4878a json_dumper: support 'null' json object.
add a621fde enip: rearrange struct member to avoid -Wmissing-braces warning
Summary of changes:
epan/dissectors/packet-enip.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)