summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2019-03-17 13:10:11 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2019-03-17 13:10:11 -0700
commitb1e6af5a9347c0b21400a7e0aad00f5167b3e472 (patch)
treee535c276d2a83e829465f795e15f0d542a85ff90 /src
parenta308cf9fd8d116e1235bc5933b9a759f2224ebc9 (diff)
Avoid gcc warning for uninitialized variable.
Diffstat (limited to 'src')
-rw-r--r--src/inlines.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inlines.c b/src/inlines.c
index d31173d..dc899dc 100644
--- 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};