[Intel-gfx] [PACTH i-g-t v1] lib/igt_gt: Fix unused variable warning for non-x86 targets

Chris Wilson chris at chris-wilson.co.uk
Wed Jun 29 20:27:25 UTC 2016


On Mon, Jun 27, 2016 at 06:58:24AM -0400, robert.foss at collabora.com wrote:
> From: Robert Foss <robert.foss at collabora.com>
> 
> Moved variable declaration inside #if case to avoid unused variable warnings
> on non-x86 targets.
> 
> Signed-off-by: Robert Foss <robert.foss at collabora.com>
Reviewed-by: Chris Wilson <chris at chris-wilson.co.uk>
-Chris

-- 
Chris Wilson, Intel Open Source Technology Centre


More information about the Intel-gfx mailing list