summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2016-06-01 13:57:53 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2016-06-01 13:57:53 -0700
commitf1665c73196581a26f9aea3028565253a7b5dbac (patch)
tree059baae1307d8b3e656c9a781a504656e63152aa /src
parent67617a56cdce713ae9b08040414e8123e66a8a93 (diff)
parente135caaaf0567c691d1af9d99d753efb4533c732 (diff)
Merge pull request #130 from MathieuDuponchelle/fix_unused_variable
inlines: Remove unused variable "link_text"
Diffstat (limited to 'src')
-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.