- Commit
- 4a47e6a34ce136658f790d78c9670efe2415a78e
- Parent
- 7486f5fff385e45f3e8eb7bd68972a1dc43e1fe0
- Author
- John MacFarlane <jgm@berkeley.edu>
- Date
Fix unnecessary variable assignment.
My personal build of CMark ✏️
Fix unnecessary variable assignment.
1 file changed, 0 insertions, 1 deletion
Status | File Name | N° Changes | Insertions | Deletions |
Modified | src/commonmark.c | 1 | 0 | 1 |
diff --git 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) {