Wireshark-dev: Re: [Wireshark-dev] Error in Wireshark (tshark.c:646)
From: Pascal Quantin <pascal.quantin@xxxxxxxxx>
Date: Thu, 20 Apr 2017 14:03:37 +0200
Hi Rémy,

2017-04-20 13:57 GMT+02:00 Remy Leone <remy.leone@xxxxxxxx>:
Hello,

I've noticed that master broke recently:
tshark.c:646:24: error: variable ‘exp_pdu_filename’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Werror=clobbered]
   const char          *exp_pdu_filename = NULL;
                        ^
Is a fix on the way? How could this bug passed through CI ?

This kind of warnings is highly dependent on the compiler version used. That's why it was not spotted so far, and why you are the first one to report the issue (for example I'm using gcc 6.3.1 and I do not have this warning).
Does replacing the line by the code below allows you to build?
const volatile char *exp_pdu_filename = NULL;

BR,
Pascal.