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

Arkadiusz Hiler arkadiusz.hiler at intel.com
Mon Jan 28 13:11:50 UTC 2019


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 at intel.com>
> Cc: Chris Wilson <chris at chris-wilson.co.uk>
Reviewed-by: Arkadiusz Hiler <arkadiusz.hiler at intel.com>


More information about the igt-dev mailing list