summaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2011-10-07 10:38:30 -0600
committerBrian Paul <[email protected]>2011-10-07 10:38:30 -0600
commit13b776ed51f46e7a945e3bd51f5483d8fa1696bf (patch)
tree995002e216209244482182d354ebadd0503888f2 /src/mesa
parent23c6eb035ba63d39652a10107f323d47b86b90f1 (diff)
intel: silence uninitialized var warning
Reviewed-by: Chad Versace <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/intel/intel_decode.c2
1 files changed, 1 insertions, 1 deletions
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 {