From 25b8ce3a6aa67db96550946aab94bd3416e5b10a Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Tue, 26 Jan 2010 17:00:15 -0800 Subject: [PATCH] i965g: Silence uninitialized variable warning. --- src/gallium/drivers/i965/brw_screen.c | 3 +++ 1 file changed, 3 insertions(+) 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); -- 2.34.1