amdgpu: fix unitialized variable
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Wed, 20 May 2020 13:32:05 +0000 (15:32 +0200)
committerPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Fri, 22 May 2020 07:12:14 +0000 (09:12 +0200)
commit004ac58509d601c4be5c7905ccd9ce0f647df05e
treee02688e1782df8d7a6ab7305279036f174bbf0e9
parentd92ab0e76319220919fccf98550db9adf4030313
amdgpu: fix unitialized variable

clang warning:
    variable 'va_handle' is used uninitialized whenever 'if' condition is false

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5119>
src/gallium/winsys/amdgpu/drm/amdgpu_bo.c