Commit 395d53bb by Richard Kenner

(rtvec_alloc): Clear rtwint instead of rtvec.

From-SVN: r13172
parent cc38a1c3
......@@ -196,9 +196,10 @@ rtvec_alloc (n)
+ (( n - 1) * sizeof (rtunion)));
/* clear out the vector */
PUT_NUM_ELEM(rt, n);
for (i=0; i < n; i++)
rt->elem[i].rtvec = NULL; /* @@ not portable due to rtunion */
PUT_NUM_ELEM (rt, n);
for (i = 0; i < n; i++)
rt->elem[i].rtwint = 0;
return rt;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment