diff options
author | Tomasz Figa <[email protected]> | 2017-07-05 23:56:51 +0900 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2017-07-05 18:49:22 +0100 |
commit | 0ede0f9dff519fe4444da91031c687207b0d9c5f (patch) | |
tree | b019a7db57f3b01e503c205039430e368be7842a /src/amd/vulkan/radv_pipeline.c | |
parent | 50a8a7377ae071d5b4b927e9055a7ec8391acc59 (diff) |
egl: android: Fix potential use of unitialized variable
If dri2_setup_extensions() fails, the "err" variable would not be assigned
causing the error path to access an unitialized variable. Fix it by
assigning an error message.
Fixes: 2c341f2bda4 ("egl: refactor dri2_create_screen() into three separate functions")
Signed-off-by: Tomasz Figa <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_pipeline.c')
0 files changed, 0 insertions, 0 deletions