- Commit
- b1e6af5a9347c0b21400a7e0aad00f5167b3e472
- Parent
- a308cf9fd8d116e1235bc5933b9a759f2224ebc9
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
Avoid gcc warning for uninitialized variable.
My personal build of CMark ✏️
Avoid gcc warning for uninitialized variable.
1 file changed, 1 insertion, 1 deletion
Status | File Name | N° Changes | Insertions | Deletions |
Modified | src/inlines.c | 2 | 1 | 1 |
diff --git a/src/inlines.c b/src/inlines.c @@ -605,7 +605,7 @@ static void process_emphasis(subject *subj, delimiter *stack_bottom) { delimiter *opener; delimiter *old_closer; bool opener_found; - int openers_bottom_index; + int openers_bottom_index = 0; delimiter *openers_bottom[6] = {stack_bottom, stack_bottom, stack_bottom, stack_bottom, stack_bottom, stack_bottom};