summaryrefslogtreecommitdiff
path: root/src/i830_driver.c
diff options
context:
space:
mode:
authorZhenyu Wang <zhenyu.z.wang@intel.com>2009-02-16 14:09:49 +0800
committerZhenyu Wang <zhenyu.z.wang@intel.com>2009-02-16 14:09:49 +0800
commit506bbb8341c052499057834a669b82787454b426 (patch)
tree533e0209a929d7dd3b4fad104812170547af16b9 /src/i830_driver.c
parent9d464bd5b0d2724f5edb26e859888ceb6a248f9b (diff)
Safely init SDVO found variable
Found by Michael Fu for my last SDVO detect fix.
Diffstat (limited to 'src/i830_driver.c')
-rw-r--r--src/i830_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/i830_driver.c b/src/i830_driver.c
index 77c127e0..571f4c27 100644
--- a/src/i830_driver.c
+++ b/src/i830_driver.c
@@ -912,7 +912,7 @@ I830SetupOutputs(ScrnInfoPtr pScrn)
i830_lvds_init(pScrn);
if (IS_I9XX(pI830)) {
- Bool found;
+ Bool found = FALSE;
if ((INREG(SDVOB) & SDVO_DETECTED)) {
found = i830_sdvo_init(pScrn, SDVOB);