xserver/hw/kdrive/ati ati_dri.c,1.14,1.15

Eric Anholt xserver-commit@pdx.freedesktop.org
Mon Jan 24 17:38:28 PST 2005


Committed by: anholt

Update of /cvs/xserver/xserver/hw/kdrive/ati
In directory gabe:/tmp/cvs-serv29009/hw/kdrive/ati

Modified Files:
	ati_dri.c 
Log Message:
Silence a warning about uninitialized variable (though it would be).


Index: ati_dri.c
===================================================================
RCS file: /cvs/xserver/xserver/hw/kdrive/ati/ati_dri.c,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- ati_dri.c	20 Jan 2005 16:22:04 -0000	1.14
+++ ati_dri.c	25 Jan 2005 01:38:26 -0000	1.15
@@ -1106,9 +1106,7 @@
 	ATICardInfo *atic = atis->atic;
 	drmDMAReq dma;
 	drmBufPtr buf = NULL;
-	int indx = 0;
-	int size = 0;
-	int ret;
+	int indx = 0, size = 0, ret = 0;
 	TIMEOUT_LOCALS;
 
 	dma.context = atis->serverContext;



More information about the xserver-commit mailing list