Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: [Wireshark-dev] Build error with packet-cipmotion.c ?

From: Martin Mathieson <martin.r.mathieson@xxxxxxxxxxxxxx>
Date: Sat, 29 Aug 2020 20:52:33 +0100
I am seeing this error with current master:

/home/martin/wireshark_gl/epan/dissectors/packet-cipmotion.c: In function ‘dissect_cipmotion3’:
/home/martin/wireshark_gl/epan/dissectors/packet-cipmotion.c:2173:4: error: missing initializer for field ‘TransportClass_trigger’ of ‘cip_conn_info_t’ [-Werror=missing-field-initializers]
    cip_conn_info_t conn_info = {0};
    ^
In file included from /home/martin/wireshark_gl/epan/dissectors/packet-cipmotion.h:15:0,
                 from /home/martin/wireshark_gl/epan/dissectors/packet-cipmotion.c:23:
/home/martin/wireshark_gl/epan/dissectors/packet-cip.h:503:28: note: ‘TransportClass_trigger’ declared here
    guint8                  TransportClass_trigger;


cip_conn_info_t has 13 fields though (compiler above is complaining about the 2nd field).
Am I missing something?

Martin