From 8a1bee8ea9a028eef65b8884f73a79fbe84a9f3a Mon Sep 17 00:00:00 2001 From: Eric Anholt Date: Tue, 25 Jan 2005 01:38:26 +0000 Subject: [PATCH] Silence a warning about uninitialized variable (though it would be). --- hw/kdrive/ati/ati_dri.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/hw/kdrive/ati/ati_dri.c b/hw/kdrive/ati/ati_dri.c index 1ac75cf0a..e7f2bef9f 100644 --- a/hw/kdrive/ati/ati_dri.c +++ b/hw/kdrive/ati/ati_dri.c @@ -1106,9 +1106,7 @@ ATIDRIGetBuffer(ATIScreenInfo *atis) 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;