projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e511a35
)
util: Silence uninitialized variable warnings.
author
Vinson Lee
<vlee@vmware.com>
Sat, 21 Aug 2010 22:48:25 +0000
(15:48 -0700)
committer
Vinson Lee
<vlee@vmware.com>
Sat, 21 Aug 2010 22:49:17 +0000
(15:49 -0700)
src/gallium/auxiliary/util/u_linkage.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/util/u_linkage.c
b/src/gallium/auxiliary/util/u_linkage.c
index cefcb4c9f1ece813d90fbd969b2f65337fa93219..2f6f41ba843decb1179e654b89e3254aba9f1cf4 100644
(file)
--- a/
src/gallium/auxiliary/util/u_linkage.c
+++ b/
src/gallium/auxiliary/util/u_linkage.c
@@
-63,7
+63,11
@@
util_semantic_set_from_program_file(struct util_semantic_set *set, const struct
semantic_index = info.output_semantic_index;
}
else
+ {
assert(0);
+ semantic_name = NULL;
+ semantic_index = NULL;
+ }
tgsi_parse_init(&parse, tokens);