summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-01-26 17:00:15 -0800
committerVinson Lee <[email protected]>2010-01-26 17:00:15 -0800
commit25b8ce3a6aa67db96550946aab94bd3416e5b10a (patch)
tree08af79422d155a04fffcb04fcc46aaf41066b700 /src/gallium/drivers
parent6ab9740b7a4f2be55533b5229519ae9563bd88ee (diff)
i965g: Silence uninitialized variable warning.
Diffstat (limited to 'src/gallium/drivers')
-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 0ecacac9a3a..a3728fb16e0 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);