Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-dev: [Wireshark-dev] Trying to fix gcc's 'set but not used' errors on Whireshark

From: Kaul <mykaul@xxxxxxxxx>
Date: Tue, 26 Apr 2011 22:39:32 +0300
Hi,

I'm trying to fix gcc 4.6's 'variable set but not used' errors that wireshark compilation currently produces, via https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5858 .
I've already fixed quite a few of them. Most are trivial, those that weren't I've remarked in the attachment comments.

- As I'm doing it file by file, I haven't made a lot of progress. All epan/dissectors/packet-{a,b}* are done, I'm now into packet-c* ... Many more to go - does anyone have a better process/idea how to accomplish that?
- Fearing that it'll take me ages, what can be done so at least some of those will get into committed sooner rather than later?

TIA,
Y.