gallium: Fix uninitialized variable warning in compute test.
authorEric Anholt <eric@anholt.net>
Mon, 26 Nov 2018 21:11:31 +0000 (13:11 -0800)
committerEric Anholt <eric@anholt.net>
Tue, 27 Nov 2018 19:23:22 +0000 (11:23 -0800)
commitbade179153b10300129c93afb1e629d9814c122e
treee1e388d791f6c771574b4f71ef4cc0006f8ab887
parent08ea6b9d9bb047603c249468dfe00d7bb9603d5e
gallium: Fix uninitialized variable warning in compute test.

The compiler doesn't know that ny != 0, so x might be uninitialized for
the printf at the end.

Reviewed-by: Elie Tournier <elie.tournier@collabora.com>
src/gallium/tests/trivial/compute.c