diff options
author | Vinson Lee <[email protected]> | 2010-08-21 15:48:25 -0700 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2010-08-21 15:49:17 -0700 |
commit | be99100ee78d7b97f616a375e47eb7d436fa4416 (patch) | |
tree | 15920017a5d2d7c5bbfb7e26bd838f8a41376988 /src/gallium/auxiliary | |
parent | e511a35fc53fb75a2401d8a94c0c35634175c575 (diff) |
util: Silence uninitialized variable warnings.
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r-- | src/gallium/auxiliary/util/u_linkage.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/util/u_linkage.c b/src/gallium/auxiliary/util/u_linkage.c index cefcb4c9f1e..2f6f41ba843 100644 --- 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); |