Re: [igt-dev] [PATCH i-g-t 20/21] lib/igt_x86: Mock-use variable to silence static analysis

Arkadiusz Hiler
2019-01-28T13:11:54Z

On Wed, Jan 16, 2019 at 01:20:49PM +0200, Petri Latvala wrote:
> x86_features_to_string() uses a repeatable pattern that increments a
> pointer for each feature string, leaving a dead assignment for the
> last one. Add a (void)line to the end just to silence static analysis.
>
> Signed-off-by: Petri Latvala <petri.latvala@intel.com>
> Cc: Chris Wilson <chris@chris-wilson.co.uk>
Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler@intel.com>