mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 22:08:26 +02:00
gallium/tgsi: fix valgrind warning
"Conditional jump or move depends on uninitialised value(s)"
Reviewed-by: Brian Paul <brianp@vmware.com>
(cherry picked from commit 9cec5edea7)
This commit is contained in:
parent
ff27e18834
commit
980f84c392
1 changed files with 1 additions and 1 deletions
|
|
@ -1569,7 +1569,7 @@ tgsi_text_translate(
|
|||
struct tgsi_token *tokens,
|
||||
uint num_tokens )
|
||||
{
|
||||
struct translate_ctx ctx;
|
||||
struct translate_ctx ctx = {0};
|
||||
|
||||
ctx.text = text;
|
||||
ctx.cur = text;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue