From c459add4b20df79910093c38d2b74794584dd2e0 Mon Sep 17 00:00:00 2001 From: OBattler Date: Thu, 29 Apr 2021 20:03:23 +0200 Subject: [PATCH] Initialized a variable in voodoo_readl(). --- src/video/vid_voodoo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/video/vid_voodoo.c b/src/video/vid_voodoo.c index 14f5f584f..2ec12dfa6 100644 --- a/src/video/vid_voodoo.c +++ b/src/video/vid_voodoo.c @@ -185,7 +185,7 @@ static uint16_t voodoo_readw(uint32_t addr, void *p) static uint32_t voodoo_readl(uint32_t addr, void *p) { voodoo_t *voodoo = (voodoo_t *)p; - uint32_t temp; + uint32_t temp = 0xffffffff; int fifo_size; voodoo->rd_count++; addr &= 0xffffff;