Module Name:    xsrc
Committed By:   christos
Date:           Sat May 21 15:08:37 UTC 2011

Modified Files:
        xsrc/external/mit/xf86-video-chips/dist/src: ct_driver.c

Log Message:
Don't return random values from a function that supposed to return something.


To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 \
    xsrc/external/mit/xf86-video-chips/dist/src/ct_driver.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: xsrc/external/mit/xf86-video-chips/dist/src/ct_driver.c
diff -u xsrc/external/mit/xf86-video-chips/dist/src/ct_driver.c:1.7 xsrc/external/mit/xf86-video-chips/dist/src/ct_driver.c:1.8
--- xsrc/external/mit/xf86-video-chips/dist/src/ct_driver.c:1.7	Sun May 15 18:54:29 2011
+++ xsrc/external/mit/xf86-video-chips/dist/src/ct_driver.c	Sat May 21 11:08:36 2011
@@ -902,7 +902,7 @@
 		pScrn->FreeScreen    = CHIPSFreeScreen;
 		pScrn->ValidMode     = CHIPSValidMode;
 		if (!CHIPSGetRec(pScrn)) {
-		    return;
+		    return FALSE;
 		}
 		cPtr = CHIPSPTR(pScrn);
 		cPtr->Chipset = chipset;

Reply via email to