]> git.sur5r.net Git - cc65/commitdiff
Keep GCC from complaining about 'List' may be used uninitialized in this function.
authorOliver Schmidt <ol.sc@web.de>
Wed, 17 May 2017 17:39:02 +0000 (19:39 +0200)
committerOliver Schmidt <ol.sc@web.de>
Wed, 17 May 2017 17:39:02 +0000 (19:39 +0200)
src/ca65/pseudo.c

index b44c28dd87d5cf9adbb501a7f4b2e05673629e57..f84f21d7f9e4eaed6f9ee5ba4a5b049c97beaa08 100644 (file)
@@ -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 */