summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-01-26 17:00:15 -0800
committerVinson Lee <vlee@vmware.com>2010-01-26 17:00:15 -0800
commit25b8ce3a6aa67db96550946aab94bd3416e5b10a (patch)
tree08af79422d155a04fffcb04fcc46aaf41066b700
parent6ab9740b7a4f2be55533b5229519ae9563bd88ee (diff)
i965g: Silence uninitialized variable warning.
-rw-r--r--src/gallium/drivers/i965/brw_screen.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/i965/brw_screen.c b/src/gallium/drivers/i965/brw_screen.c
index 0ecacac9a3..a3728fb16e 100644
--- a/src/gallium/drivers/i965/brw_screen.c
+++ b/src/gallium/drivers/i965/brw_screen.c
@@ -138,6 +138,9 @@ brw_get_name(struct pipe_screen *screen)
case PCI_CHIP_ILM_G:
chipset = "ILM_G";
break;
+ default:
+ chipset = "unknown";
+ break;
}
util_snprintf(buffer, sizeof(buffer), "i965 (chipset: %s)", chipset);