Wireshark-dev: [Wireshark-dev] Re: Failure to compile master (22d50276f84a5976039de9ebf93cf1794

From: Jaap Keuter <jaap.keuter@xxxxxxxxx>
Date: Sun, 5 Oct 2025 21:47:44 +0200
Hi,

Well, you might as well remove that function (asterix_parse_re_field) from compilation, since it doesn’t seem to be used…

Thanks,
Jaap


On 5 Oct 2025, at 21:34, Yaniv Kaul <yaniv.kaul@xxxxxxxxxxxx> wrote:



On Sun, Oct 5, 2025 at 8:41 PM Jaap Keuter via Wireshark-dev <wireshark-dev@xxxxxxxxxxxxx> wrote:
Hi,

What happens if you pull again?

Pulled as hard as I could. No go.
Y.
 

Thanks,
Jaap


> On 5 Oct 2025, at 15:43, Yaniv Kaul via Wireshark-dev <wireshark-dev@xxxxxxxxxxxxx> wrote:
> 
> 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 -- wireshark-dev@xxxxxxxxxxxxx
> To unsubscribe send an email to wireshark-dev-leave@xxxxxxxxxxxxx

_______________________________________________
Wireshark-dev mailing list -- wireshark-dev@xxxxxxxxxxxxx
To unsubscribe send an email to wireshark-dev-leave@xxxxxxxxxxxxx