OSDN Git Service
(root)
/
android-x86
/
external-mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17003b4
)
gallium/tgsi: fix valgrind warning
author
Marek Olšák
<maraeo@gmail.com>
Fri, 22 Mar 2013 16:04:15 +0000
(17:04 +0100)
committer
Marek Olšák
<maraeo@gmail.com>
Tue, 26 Mar 2013 00:28:19 +0000
(
01:28
+0100)
"Conditional jump or move depends on uninitialised value(s)"
Reviewed-by: Brian Paul <brianp@vmware.com>
src/gallium/auxiliary/tgsi/tgsi_text.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/tgsi/tgsi_text.c
b/src/gallium/auxiliary/tgsi/tgsi_text.c
index
6b97bee
..
187e23e
100644
(file)
--- a/
src/gallium/auxiliary/tgsi/tgsi_text.c
+++ b/
src/gallium/auxiliary/tgsi/tgsi_text.c
@@
-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;