summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--hw/kdrive/ati/ati_dri.c4
1 files changed, 1 insertions, 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;