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
___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@wireshark.org>
Archives:    https://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-requ...@wireshark.org?subject=unsubscribe

Reply via email to