From 13b776ed51f46e7a945e3bd51f5483d8fa1696bf Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Fri, 7 Oct 2011 10:38:30 -0600 Subject: [PATCH] intel: silence uninitialized var warning Reviewed-by: Chad Versace --- src/mesa/drivers/dri/intel/intel_decode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesa/drivers/dri/intel/intel_decode.c b/src/mesa/drivers/dri/intel/intel_decode.c index ac8d69074ab..b4de42dcfa1 100644 --- a/src/mesa/drivers/dri/intel/intel_decode.c +++ b/src/mesa/drivers/dri/intel/intel_decode.c @@ -881,7 +881,7 @@ decode_3d_1d(uint32_t *data, int count, int *failures) { unsigned int len, i, c, idx, word, map, sampler, instr; - char *format, *zformat, *type; + char *format = "", *zformat, *type; uint32_t opcode; struct { -- 2.30.2