ref: 8954858bf79a9ad48eacb063d42b47882ede1175
parent: 4877e6dbba2bcf2ba6a523e1d9048de0d4cc8e2f
author: Antonio Niño Díaz <[email protected]>
date: Sun Aug 6 18:20:39 EDT 2017
Fix warning about using uninitialized variable Signed-off-by: Antonio Niño Díaz <[email protected]>
--- a/src/asm/asmy.y
+++ b/src/asm/asmy.y
@@ -23,7 +23,7 @@
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: