summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/main.c b/src/main.c
index aeb81de..42cd8b1 100644
--- a/src/main.c
+++ b/src/main.c
@@ -181,11 +181,6 @@ int main(int argc, char *argv[]) {
document = cmark_parser_finish(parser);
cmark_parser_free(parser);
- if (document == NULL) {
- fprintf(stderr, "%s", cmark_parser_get_error_message(parser));
- exit(1);
- }
-
print_document(document, writer, options, width);
cmark_node_free(document);