q_level was never initialized, causing random test failures. This should fix that

This commit is contained in:
Ambrose Li
2020-12-17 21:51:42 -05:00
parent b575d946c5
commit ec722e7a53

1
file.c
View File

@@ -7023,6 +7023,7 @@ init_henv(struct html_feed_environ *h_env, struct readbuffer *obuf,
obuf->status = R_ST_NORMAL;
obuf->table_level = -1;
obuf->nobr_level = 0;
obuf->q_level = 0;
bzero((void *)&obuf->anchor, sizeof(obuf->anchor));
obuf->img_alt = 0;
obuf->input_alt.hseq = 0;