projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ba6f4c9
)
i965: Fix compiler warning from uninitialized "success" value.
author
Eric Anholt
<eric@anholt.net>
Wed, 11 Jan 2012 20:07:15 +0000
(12:07 -0800)
committer
Eric Anholt
<eric@anholt.net>
Wed, 11 Jan 2012 20:07:15 +0000
(12:07 -0800)
This shouldn't happen, because the DDX should only load this driver if
IS_965. But better to do something defined in that case.
src/mesa/drivers/dri/intel/intel_screen.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_screen.c
b/src/mesa/drivers/dri/intel/intel_screen.c
index ce96ddda85cbe48116a32ec997c043a49885d7aa..b0e800b7ecce890950937f880ab88fed93334a7b 100644
(file)
--- 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)) {