]> granicus.if.org Git - sudo/commitdiff
now explicately initialize match[] tp be FALSE
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 29 Sep 1995 21:50:21 +0000 (21:50 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 29 Sep 1995 21:50:21 +0000 (21:50 +0000)
parse.yacc

index 596f7749f4bfe0abee4149f65d7d8e77eae67483..c22024e4d1fa666ed7b5272452d1d101d9d2b721 100644 (file)
@@ -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 \