xf86-video-intel: src/i830_driver.c

Zhenyu Wang zhen at kemper.freedesktop.org
Sun Feb 15 22:18:26 PST 2009


 src/i830_driver.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit 506bbb8341c052499057834a669b82787454b426
Author: Zhenyu Wang <zhenyu.z.wang at intel.com>
Date:   Mon Feb 16 14:09:49 2009 +0800

    Safely init SDVO found variable
    
    Found by Michael Fu for my last SDVO detect fix.

diff --git a/src/i830_driver.c b/src/i830_driver.c
index 77c127e..571f4c2 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);
 


More information about the xorg-commit mailing list