md4c

C Markdown parser. Fast. SAX-like interface. Compliant to CommonMark specification.
git clone https://noulin.net/git/md4c.git
Log | Files | Refs | README | LICENSE

commit 578dea5b81474bb16ac66cf79cf876c5e8be77bf
parent bb23f79129470dfdb7f447b096bde7f4d5a78a88
Author: Martin Mitas <mity@morous.org>
Date:   Sun,  4 Dec 2016 18:41:41 +0100

md_resolve_links: Remove possible invalid initialization.

Diffstat:
Mmd4c/md4c.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/md4c/md4c.c b/md4c/md4c.c @@ -2735,7 +2735,7 @@ md_resolve_links(MD_CTX* ctx, const MD_LINE* lines, int n_lines) MD_MARK* closer = &ctx->marks[closer_index]; int next_index = opener->prev; MD_MARK* next_opener = &ctx->marks[next_index]; - MD_MARK* next_closer = &ctx->marks[next_opener->next]; + MD_MARK* next_closer; MD_LINK_ATTR attr; int is_link = FALSE;