i965g: Silence uninitialized variable warning.
authorVinson Lee <vlee@vmware.com>
Wed, 27 Jan 2010 01:00:15 +0000 (17:00 -0800)
committerVinson Lee <vlee@vmware.com>
Wed, 27 Jan 2010 01:00:15 +0000 (17:00 -0800)
src/gallium/drivers/i965/brw_screen.c

index 0ecacac9a3a1d974fbd8d41ff5688d4e7140ad93..a3728fb16e0a2c289d10517f000a4340d86a4685 100644 (file)
@@ -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);