summaryrefslogtreecommitdiff
path: root/src/cmark.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cmark.c')
-rw-r--r--src/cmark.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/cmark.c b/src/cmark.c
index da93abe..2ef6cb4 100644
--- a/src/cmark.c
+++ b/src/cmark.c
@@ -36,9 +36,6 @@ char *cmark_markdown_to_html(const char *text, size_t len, int options) {
char *result;
doc = cmark_parse_document(text, len, options);
- if (doc == NULL) {
- return NULL;
- }
result = cmark_render_html(doc, options);
cmark_node_free(doc);