diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-01-17 16:30:31 -0800 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-01-17 16:30:31 -0800 |
commit | e31aefdbb96d5d945417f8750fd6117919f41c6e (patch) | |
tree | 111f601dd38c211261122bec015259f5e38f59dc /src | |
parent | ce3c6a4dadf08f94a0ea73cff1cde6c992679803 (diff) |
Removed some unneeded tests (code clarity).
Diffstat (limited to 'src')
-rw-r--r-- | src/blocks.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/blocks.c b/src/blocks.c index edd03d5..dafbb9b 100644 --- a/src/blocks.c +++ b/src/blocks.c @@ -844,15 +844,11 @@ S_process_line(cmark_parser *parser, const unsigned char *buffer, size_t bytes) } add_line(container, &input, first_nonspace); - } else if (container->type != NODE_HRULE && - container->type != NODE_HEADER) { - + } else { // create paragraph container for line container = add_child(parser, container, NODE_PARAGRAPH, first_nonspace + 1); add_line(container, &input, first_nonspace); - } else { - assert(false); } parser->current = container; |