From be99100ee78d7b97f616a375e47eb7d436fa4416 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Sat, 21 Aug 2010 15:48:25 -0700 Subject: [PATCH] util: Silence uninitialized variable warnings. --- src/gallium/auxiliary/util/u_linkage.c | 4 ++++ 1 file changed, 4 insertions(+) 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); -- 2.30.2