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

Wireshark-dev: Re: [Wireshark-dev] About Dead Store in clang Analysis

From: Stephen Fisher <steve@xxxxxxxxxxxxxxxxxx>
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.