mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 22:38:05 +02:00
gallium/tgsi: fix valgrind warning
"Conditional jump or move depends on uninitialised value(s)" Reviewed-by: Brian Paul <brianp@vmware.com>
This commit is contained in:
parent
17003b44b7
commit
9cec5edea7
1 changed files with 1 additions and 1 deletions
|
|
@ -1570,7 +1570,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