summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2020-01-15 14:55:39 +0100
committerJohn MacFarlane <jgm@berkeley.edu>2020-01-15 07:04:27 -0800
commit572557dd3ca0cedecba3833111bb04bb5668db43 (patch)
tree9e86676594ebffb0dbc3d5556f19968052882d5a /src
parent990aabe29415cdbc0d7fd22aa82c5e6bf31b4675 (diff)
Remove unused variable
Diffstat (limited to 'src')
-rw-r--r--src/commonmark.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/commonmark.c b/src/commonmark.c
index 24c8581..b89462b 100644
--- a/src/commonmark.c
+++ b/src/commonmark.c
@@ -182,7 +182,7 @@ static int S_render_node(cmark_renderer *renderer, cmark_node *node,
bool entering = (ev_type == CMARK_EVENT_ENTER);
const char *info, *code, *title;
char fencechar[2] = {'\0', '\0'};
- size_t info_len, code_len;
+ size_t code_len;
char listmarker[LISTMARKER_SIZE];
const char *emph_delim;
bool first_in_list_item;
@@ -289,7 +289,6 @@ static int S_render_node(cmark_renderer *renderer, cmark_node *node,
BLANKLINE();
}
info = cmark_node_get_fence_info(node);
- info_len = strlen(info);
fencechar[0] = strchr(info, '`') == NULL ? '`' : '~';
code = cmark_node_get_literal(node);
code_len = strlen(code);