Vendor fix: initialize the flag field of a newly created node to be 0.

Submitted by:	jasone
This commit is contained in:
Hartmut Brandt 2006-01-10 11:52:51 +00:00
parent d4199d75a1
commit 2a9284a7c0
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/vendor/bsnmp/dist/; revision=154182

View File

@ -353,6 +353,7 @@ parse(enum tok tok)
node = xalloc(sizeof(struct node));
node->lno = lno;
node->flags = 0;
if (tok != '(')
report("'(' expected at begin of node");