From 5178c585af2ae630b8a7ec0a3d66aca1015d7c28 Mon Sep 17 00:00:00 2001 From: Martin Mitas Date: Thu, 25 Jan 2024 23:53:58 +0100 Subject: [PATCH] Fix uninitialized variable. This was regression introduced in the commit aeddaf587f5e3faceb2d88a45ef7987bdebfe837. --- src/md4c.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/md4c.c b/src/md4c.c index 5075e0fd..7c397106 100644 --- a/src/md4c.c +++ b/src/md4c.c @@ -2850,9 +2850,11 @@ md_is_code_span(MD_CTX* ctx, const MD_LINE* lines, int n_lines, OFF beg, opener->ch = _T('`'); opener->beg = opener_beg; opener->end = opener_end; + opener->flags = MD_MARK_POTENTIAL_OPENER; closer->ch = _T('`'); closer->beg = closer_beg; closer->end = closer_end; + closer->flags = MD_MARK_POTENTIAL_CLOSER; return TRUE; }