diff options
author | Eric Anholt <anholt@freebsd.org> | 2005-01-25 01:38:26 +0000 |
---|---|---|
committer | Eric Anholt <anholt@freebsd.org> | 2005-01-25 01:38:26 +0000 |
commit | 8a1bee8ea9a028eef65b8884f73a79fbe84a9f3a (patch) | |
tree | a9004bfec0ee3f8f5c6ed5df08f94283852d27f8 /hw/kdrive | |
parent | 67eeede4e16324990e1a6afc237a3f51b8edea39 (diff) |
Silence a warning about uninitialized variable (though it would be).
Diffstat (limited to 'hw/kdrive')
-rw-r--r-- | hw/kdrive/ati/ati_dri.c | 4 |
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; |