Wireshark mailing list archives

Re: About Dead Store in clang Analysis


From: Stephen Fisher <steve () stephen-fisher com>
Date: Thu, 24 Mar 2011 14:24:22 -0600

On Thu, Mar 24, 2011 at 08:56:26PM +0100, Alexis La Goutte wrote:

And there is a lot of Dead increment

What it the official solution to fix this ?
1) Remove the code
2) Ignore this warning
3) Comment the code  add a
 /*     offset += 1;  Remove Clang Dead increment */

I would say #1 - remove the code because it is the cleanest solution.


___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: