From: Brian Paul Date: Fri, 7 Oct 2011 16:38:30 +0000 (-0600) Subject: intel: silence uninitialized var warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=13b776ed51f46e7a945e3bd51f5483d8fa1696bf;p=mesa.git intel: silence uninitialized var warning Reviewed-by: Chad Versace --- 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 {