summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2014-11-07 21:59:28 -0800
committerJohn MacFarlane <jgm@berkeley.edu>2014-11-07 21:59:28 -0800
commit71e14bb77b1bceca3cf6e48d4b074e74c046ed04 (patch)
tree6a6af3da1d82ee5cae990c69e3a57e1f7c37bfbf
parent37b536cf8dc3d52d354e5c2b79befddea60f4844 (diff)
Removed unused emphasis_nestlevel.
-rw-r--r--src/inlines.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/inlines.c b/src/inlines.c
index 69a3611..773027e 100644
--- a/src/inlines.c
+++ b/src/inlines.c
@@ -25,7 +25,6 @@ typedef struct Subject {
int label_nestlevel;
reference_map *refmap;
opener_stack *openers;
- int emphasis_nestlevel;
} subject;
static node_inl *parse_chunk_inlines(chunk *chunk, reference_map *refmap);
@@ -199,7 +198,6 @@ static void subject_from_buf(subject *e, strbuf *buffer, reference_map *refmap)
e->label_nestlevel = 0;
e->refmap = refmap;
e->openers = NULL;
- e->emphasis_nestlevel = 0;
chunk_rtrim(&e->input);
}
@@ -213,7 +211,6 @@ static void subject_from_chunk(subject *e, chunk *chunk, reference_map *refmap)
e->label_nestlevel = 0;
e->refmap = refmap;
e->openers = NULL;
- e->emphasis_nestlevel = 0;
chunk_rtrim(&e->input);
}
@@ -333,7 +330,6 @@ static void free_openers(subject* subj, opener_stack* istack)
while (subj->openers != istack) {
tempstack = subj->openers;
subj->openers = subj->openers->previous;
- subj->emphasis_nestlevel--;
free(tempstack);
}
}