cmark

My personal build of CMark ✏️

Commit
f1665c73196581a26f9aea3028565253a7b5dbac
Parent
67617a56cdce713ae9b08040414e8123e66a8a93
Author
John MacFarlane <jgm@berkeley.edu>
Date

Merge pull request #130 from MathieuDuponchelle/fix_unused_variable

inlines: Remove unused variable "link_text"

Diffstat

1 file changed, 0 insertions, 2 deletions

Status File Name N° Changes Insertions Deletions
Modified src/inlines.c 2 0 2
diff --git a/src/inlines.c b/src/inlines.c
@@ -781,7 +781,6 @@ static cmark_node *handle_close_bracket(subject *subj) {
   cmark_chunk url_chunk, title_chunk;
   cmark_chunk url, title;
   delimiter *opener;
-  cmark_node *link_text;
   cmark_node *inl;
   cmark_chunk raw_label;
   int found_label;
@@ -811,7 +810,6 @@ static cmark_node *handle_close_bracket(subject *subj) {
 
   // If we got here, we matched a potential link/image text.
   is_image = opener->delim_char == '!';
-  link_text = opener->inl_text->next;
 
   // Now we check to see if it's a link/image.