From: Oliver Schmidt
Date: Wed, 17 May 2017 17:39:02 +0000 (+0200)
Subject: Keep GCC from complaining about 'List' may be used uninitialized in this function.
X-Git-Tag: V2.17~145
X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f151142e6a9935f53fb36b5c54d1031572f50d0c;p=cc65
Keep GCC from complaining about 'List' may be used uninitialized in this function.
---
diff --git a/src/ca65/pseudo.c b/src/ca65/pseudo.c
index b44c28dd8..f84f21d7f 100644
--- a/src/ca65/pseudo.c
+++ b/src/ca65/pseudo.c
@@ -1388,7 +1388,7 @@ static void DoList (void)
/* Enable/disable the listing */
{
/* Get the setting */
- unsigned char List;
+ unsigned char List = 0;
SetBoolOption (&List);
/* Manage the counter */