diff options
author | Eric Anholt <[email protected]> | 2012-01-11 12:07:15 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2012-01-11 12:07:15 -0800 |
commit | 35cdd7b6dbc763fe57bf466def0a4257ca09beb8 (patch) | |
tree | c94d8dfe751763781e55950d3d1261f8adb3ea84 /src/mesa/drivers | |
parent | ba6f4c9ee2294de66977d292972d47355fa58be0 (diff) |
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.
Diffstat (limited to 'src/mesa/drivers')
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_screen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_screen.c b/src/mesa/drivers/dri/intel/intel_screen.c index ce96ddda85c..b0e800b7ecc 100644 --- a/src/mesa/drivers/dri/intel/intel_screen.c +++ b/src/mesa/drivers/dri/intel/intel_screen.c @@ -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)) { |