From 23467b07b8afc98b2b92c028ba4b01dcf425432b Mon Sep 17 00:00:00 2001 From: starfrost013 Date: Thu, 2 Jan 2025 11:35:41 +0000 Subject: [PATCH] fix compiler warning --- src/video/nv/nv3/subsystems/nv3_pbus.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/video/nv/nv3/subsystems/nv3_pbus.c b/src/video/nv/nv3/subsystems/nv3_pbus.c index cf5b698a1..61385b8f2 100644 --- a/src/video/nv/nv3/subsystems/nv3_pbus.c +++ b/src/video/nv/nv3/subsystems/nv3_pbus.c @@ -175,8 +175,6 @@ uint8_t nv3_pbus_rma_read(uint16_t addr) // Implements a 32-bit write using 16 bit port number void nv3_pbus_rma_write(uint16_t addr, uint8_t val) { - uint8_t ret = 0x00; - // addresses are in reality 8bit so just mask it to be safe addr &= 0xFF;