i965: Fix compiler warning from uninitialized "success" value.

This shouldn't happen, because the DDX should only load this driver if
IS_965.  But better to do something defined in that case.
This commit is contained in:
Eric Anholt 2012-01-11 12:07:15 -08:00
parent ba6f4c9ee2
commit 35cdd7b6db

View file

@ -525,7 +525,7 @@ intelCreateContext(gl_api api,
{
__DRIscreen *sPriv = driContextPriv->driScreenPriv;
struct intel_screen *intelScreen = sPriv->driverPrivate;
bool success;
bool success = false;
#ifdef I915
if (IS_9XX(intelScreen->deviceID)) {