On Wed, Apr 20, 2011 at 02:15:19PM +0000, Chris Maynard wrote:
> But then I went looking for other volatile's and found a number of
> them:
>
> grep volatile epan/dissectors/packet-*.c | wc
> 184 1066 14209
>
> Do we really need any of these in Wireshark?
I just tried removing the one you mentioned and another random one and
it still compiles, but I've often seen a compiler warning about a
longjump because of our exception handling code (the TRY / CATCH stuff)
clobbering variables requiring them to be declared as volatile.