(re_dfa_add_node): Initialize opt_subexp.
authordrepper <drepper>
Sat, 27 Dec 2003 23:34:31 +0000 (23:34 +0000)
committerdrepper <drepper>
Sat, 27 Dec 2003 23:34:31 +0000 (23:34 +0000)
posix/regex_internal.c

index 45b45aa..4cff96f 100644 (file)
@@ -1306,6 +1306,7 @@ re_dfa_add_node (dfa, token, mode)
       dfa->nodes_alloc = new_nodes_alloc;
     }
   dfa->nodes[dfa->nodes_len] = token;
+  dfa->nodes[dfa->nodes_len].opt_subexp = 0;
   dfa->nodes[dfa->nodes_len].duplicated = 0;
   dfa->nodes[dfa->nodes_len].constraint = 0;
   return dfa->nodes_len++;