cmark

My personal build of CMark ✏️

Commit
3f47b0845432aa52d251613b07c065ce56730b84
Parent
afffab6f9ec22de7bad1cdda99c0cc187cd6a826
Author
John MacFarlane <jgm@berkeley.edu>
Date

Removed some no-longer-used code in C impl.

Diffstat

1 file changed, 0 insertions, 4 deletions

Status File Name N° Changes Insertions Deletions
Modified src/inlines.c 4 0 4
diff --git a/src/inlines.c b/src/inlines.c
@@ -683,7 +683,6 @@ static node_inl* handle_close_bracket(subject* subj, node_inl **last)
 	chunk urlchunk, titlechunk;
 	unsigned char *url, *title;
 	delimiter_stack *opener;
-	delimiter_stack *closer_above;
 	delimiter_stack *tempstack;
 	node_inl *link_text;
 	node_inl *inl;
@@ -787,13 +786,10 @@ match:
 	// inside links.)
 	if (!is_image) {
 		opener = subj->delimiters;
-		closer_above = NULL;
 		while (opener != NULL) {
 			tempstack = opener->previous;
 			if (opener->delim_char == '[') {
 				remove_delimiter(subj, opener);
-			} else {
-				closer_above = opener;
 			}
 			opener = tempstack;
 		}