From: Todd C. Miller Date: Mon, 8 Jul 1996 00:34:13 +0000 (+0000) Subject: slightly simpler initialization of no_passwd and runas_matches X-Git-Tag: SUDO_1_5_0~122 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fb8c99d83c39c0bdfc684317c648627db8df9a9b;p=sudo slightly simpler initialization of no_passwd and runas_matches --- diff --git a/parse.yacc b/parse.yacc index a0e887a31..bd94c1b26 100644 --- a/parse.yacc +++ b/parse.yacc @@ -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 ;