summaryrefslogtreecommitdiff
path: root/hw/kdrive
diff options
context:
space:
mode:
authorEric Anholt <anholt@freebsd.org>2005-01-25 01:38:26 +0000
committerEric Anholt <anholt@freebsd.org>2005-01-25 01:38:26 +0000
commit8a1bee8ea9a028eef65b8884f73a79fbe84a9f3a (patch)
treea9004bfec0ee3f8f5c6ed5df08f94283852d27f8 /hw/kdrive
parent67eeede4e16324990e1a6afc237a3f51b8edea39 (diff)
Silence a warning about uninitialized variable (though it would be).
Diffstat (limited to 'hw/kdrive')
-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;