summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathieu Duponchelle <mathieu.duponchelle@opencreed.com>2016-06-01 01:06:09 +0200
committerMathieu Duponchelle <mathieu.duponchelle@opencreed.com>2016-06-01 01:06:09 +0200
commite135caaaf0567c691d1af9d99d753efb4533c732 (patch)
tree3635a1e8d68c080958b16463c910c70f20376011
parentf9919992d52356166ff4fcc9e4e4754d2a365e14 (diff)
inlines: Remove unused variable "link_text"
-rw-r--r--src/inlines.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/inlines.c b/src/inlines.c
index b410218..6acbb44 100644
--- 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.