Failure:
/home/ykaul/github/wireshark/epan/dissectors/packet-asterix.c: In function
‘asterix_parse_re_field.constprop’:
/home/ykaul/github/wireshark/epan/dissectors/packet-asterix.c:290:44:
error: ‘table_p.table_pointer’ may be used uninitialized
[-Werror=maybe-uninitialized]
290 | offset += table_p.table_pointer[i](tvb, offset, tree,
expand_value);
| ~~~~~~~~~~~~~~~~~~~~~^~~
/home/ykaul/github/wireshark/epan/dissectors/packet-asterix.c:278:18: note:
‘table_p.table_pointer’ was declared here
278 | table_params table_p;
| ^~~~~~~
/home/ykaul/github/wireshark/epan/dissectors/packet-asterix.c:284:18:
error: ‘table_p.table_pointer_expand’ may be used uninitialized
[-Werror=maybe-uninitialized]
284 | int *expand = table_p.table_pointer_expand[i];
| ^~~~~~
/home/ykaul/github/wireshark/epan/dissectors/packet-asterix.c:278:18: note:
‘table_p.table_pointer_expand’ was declared here
278 | table_params table_p;
| ^~~~~~~
/home/ykaul/github/wireshark/epan/dissectors/packet-asterix.c:278:18:
error: ‘table_p.table_size’ may be used uninitialized
[-Werror=maybe-uninitialized]
_______________________________________________
Wireshark-dev mailing list -- [email protected]
To unsubscribe send an email to [email protected]