summaryrefslogtreecommitdiffstats
path: root/contrib/bsnmp/gensnmptree/gensnmptree.c
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/bsnmp/gensnmptree/gensnmptree.c')
-rw-r--r--contrib/bsnmp/gensnmptree/gensnmptree.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/contrib/bsnmp/gensnmptree/gensnmptree.c b/contrib/bsnmp/gensnmptree/gensnmptree.c
index 89cd237..c23c8a1 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");
OpenPOWER on IntegriCloud