Skip to content

Commit

Permalink
Fix uninitialized variable.
Browse files Browse the repository at this point in the history
This was regression introduced in the commit
aeddaf5.
  • Loading branch information
mity committed Jan 25, 2024
1 parent aeddaf5 commit 5178c58
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/md4c.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 5178c58

Please sign in to comment.