From 8954858bf79a9ad48eacb063d42b47882ede1175 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Antonio=20Ni=C3=B1o=20D=C3=ADaz?= Date: Sun, 6 Aug 2017 22:20:39 +0100 Subject: [PATCH] Fix warning about using uninitialized variable MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Antonio Niño Díaz --- src/asm/asmy.y | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/asm/asmy.y b/src/asm/asmy.y index a4612e52..f952a652 100644 --- a/src/asm/asmy.y +++ b/src/asm/asmy.y @@ -23,7 +23,7 @@ ULONG ulNewMacroSize; void bankrangecheck(char *name, ULONG secttype, SLONG org, SLONG bank) { - SLONG minbank, maxbank; + SLONG minbank = 0, maxbank = 0; char *stype = NULL; switch (secttype) { case SECT_ROMX: