]> git.unchartedbackwaters.co.uk Git - francis/winuae.git/commitdiff
Initialize variable
authorToni Wilen <twilen@winuae.net>
Fri, 31 Oct 2025 16:34:54 +0000 (18:34 +0200)
committerToni Wilen <twilen@winuae.net>
Fri, 31 Oct 2025 16:34:54 +0000 (18:34 +0200)
custom.cpp

index bb4f29ce516f3ad7652140ee4a2c0a1b7243691d..2e50b0c9fc9cfb0a028f7dbafeb73ce02306af12 100644 (file)
@@ -6814,7 +6814,7 @@ void custom_reset(bool hardreset, bool keyboardreset)
                        sprhstrt = 0xffff;
 
                        for (int i = 0; i < 32; i++) {
-                               uae_u16 c;
+                               uae_u16 c = 0;
                                if (i == 0) {
                                        c = ((ecs_denise && !aga_mode) || denisea1000) ? 0xfff : 0x000;
                                } else {