diff --git a/contrib/bsnmp/gensnmptree/gensnmptree.c b/contrib/bsnmp/gensnmptree/gensnmptree.c index 89cd237b1375..c23c8a13b018 100644 --- a/contrib/bsnmp/gensnmptree/gensnmptree.c +++ b/contrib/bsnmp/gensnmptree/gensnmptree.c @@ -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");