summaryrefslogtreecommitdiff
path: root/src/commonmark.c
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2020-05-13 15:40:42 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2020-05-13 15:40:42 -0700
commit4a47e6a34ce136658f790d78c9670efe2415a78e (patch)
treeaf441131c3d6d818455439ffc88f0a2a61204d02 /src/commonmark.c
parent7486f5fff385e45f3e8eb7bd68972a1dc43e1fe0 (diff)
Fix unnecessary variable assignment.
Diffstat (limited to 'src/commonmark.c')
-rw-r--r--src/commonmark.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/commonmark.c b/src/commonmark.c
index 497040a..8f5bd8f 100644
--- a/src/commonmark.c
+++ b/src/commonmark.c
@@ -285,7 +285,6 @@ static int S_render_node(cmark_renderer *renderer, cmark_node *node,
info = cmark_node_get_fence_info(node);
fencechar[0] = strchr(info, '`') == NULL ? '`' : '~';
code = cmark_node_get_literal(node);
- code_len = strlen(code);
numticks = longest_backtick_sequence(code) + 1;
if (numticks < 3) {