shader_runner: Fix argument for received length.
commitd39478248a516542a5438a8f3713ba34e25e65bb
authorVinson Lee <vlee@freedesktop.org>
Tue, 14 Jun 2016 23:11:38 +0000 (14 16:11 -0700)
committerVinson Lee <vlee@freedesktop.org>
Wed, 15 Jun 2016 18:58:18 +0000 (15 11:58 -0700)
tree71778a3c094c680e8ce4aafe1a9c692c2133e172
parent860e9bd58ea760474cb6a1abbeda889bc7398856
shader_runner: Fix argument for received length.

shader_runner.c:2255:25: warning: variable 'got' is uninitialized when used here [-Wuninitialized]
                                expected, expected, got, got);
                                                    ^~~
shader_runner.c:2234:12: note: initialize the variable 'got' to silence this warning
                GLint got;
                         ^
                          = 0

Fixes: b3fc3303d9379 ("shader_runner: Add ARB_program_interface_query support")
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Samuel Iglesias Gonsálvez <siglesias@igalia.com>
tests/shaders/shader_runner.c