diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-11-03 23:35:43 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-11-04 00:02:31 +0100 |
commit | e1b338ac200a7a8e1d156fbfd5517f562aaa9277 (patch) | |
tree | b38eae1ced11655a079a41270c2c19cdf9962c67 | |
parent | 01deebeae5f615aff8fd8a3bb35280e60e2082ad (diff) |
parser: zero-initialize expected token bitfield
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
-rw-r--r-- | parser.y | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -94,7 +94,7 @@ ut_add_else(struct ut_state *s, uint32_t off, uint32_t add) } %syntax_error { - uint64_t tokens[(__T_MAX + 63) & -64]; + uint64_t tokens[(__T_MAX + 63) & -64] = {}; int i, max_token = 0; for (i = 0; i < __T_MAX; i++) { |