]> granicus.if.org Git - sudo/commitdiff
slightly simpler initialization of no_passwd and runas_matches
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 8 Jul 1996 00:34:13 +0000 (00:34 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 8 Jul 1996 00:34:13 +0000 (00:34 +0000)
parse.yacc

index a0e887a315ffc1076f12b1b6ba10686994579454..bd94c1b2609e731a7a641b205472519a54e8a4c5 100644 (file)
@@ -229,11 +229,9 @@ hostspec   :       ALL {
                        }
                ;
 
-opcmndlist     :       {
-                           cmnd_matches = no_passwd = runas_matches = -1;
-                       } opcmnd
+opcmndlist     :       { no_passwd = runas_matches = -1; } opcmnd
                |       opcmndlist ',' {
-                           cmnd_matches = no_passwd = runas_matches = -1;
+                           no_passwd = runas_matches = -1;
                        } opcmnd
                ;