util: Silence uninitialized variable warnings.
authorVinson Lee <vlee@vmware.com>
Sat, 21 Aug 2010 22:48:25 +0000 (15:48 -0700)
committerVinson Lee <vlee@vmware.com>
Sat, 21 Aug 2010 22:49:17 +0000 (15:49 -0700)
src/gallium/auxiliary/util/u_linkage.c

index cefcb4c9f1ece813d90fbd969b2f65337fa93219..2f6f41ba843decb1179e654b89e3254aba9f1cf4 100644 (file)
@@ -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);