From beb44f4372e0af7dafc7fff6f5184737d61fc8d3 Mon Sep 17 00:00:00 2001 From: "Rafael G. Martins" Date: Sat, 9 May 2015 01:51:19 -0300 Subject: error: content parser won't raise errors --- src/error.c | 3 --- src/error.h | 1 - 2 files changed, 4 deletions(-) (limited to 'src') diff --git a/src/error.c b/src/error.c index 68c7b00..3850304 100644 --- a/src/error.c +++ b/src/error.c @@ -96,9 +96,6 @@ blogc_error_print(blogc_error_t *err) case BLOGC_ERROR_LOADER: tmp = b_strdup("Loader error"); break; - case BLOGC_ERROR_CONTENT_PARSER: - tmp = b_strdup("Content parser error"); - break; default: tmp = b_strdup("Unknown error"); } diff --git a/src/error.h b/src/error.h index b4960e2..98aeeb9 100644 --- a/src/error.h +++ b/src/error.h @@ -17,7 +17,6 @@ typedef enum { BLOGC_ERROR_SOURCE_PARSER = 1, BLOGC_ERROR_TEMPLATE_PARSER, BLOGC_ERROR_LOADER, - BLOGC_ERROR_CONTENT_PARSER, } blogc_error_type_t; typedef struct { -- cgit v1.2.3-18-g5258