From a14ba7447dbd7e818d170423d6b13b3fd0afee52 Mon Sep 17 00:00:00 2001 From: "Todd C. Miller" Date: Fri, 29 Sep 1995 21:50:21 +0000 Subject: [PATCH] now explicately initialize match[] tp be FALSE --- parse.yacc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/parse.yacc b/parse.yacc index 596f7749f..c22024e4d 100644 --- a/parse.yacc +++ b/parse.yacc @@ -70,10 +70,11 @@ int printmatches = 0; #define USER 3 /* - * the matching stack + * The matching stack, we should not have to initialize this, + * since it is global but some compilers are just too braindamaged... */ #define MATCHSTACKSIZE (40) -struct matchstack match[MATCHSTACKSIZE]; +struct matchstack match[MATCHSTACKSIZE] = { FALSE }; int top = 0; #define push \ -- 2.49.0