summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/inlines.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/inlines.c b/src/inlines.c
index 71e577b..254ebb6 100644
--- 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;
}