aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRafael G. Martins <rafael@rafaelmartins.eng.br>2015-05-09 01:51:19 -0300
committerRafael G. Martins <rafael@rafaelmartins.eng.br>2015-05-09 01:51:19 -0300
commitbeb44f4372e0af7dafc7fff6f5184737d61fc8d3 (patch)
treed8245f86ac7510bd4254ca7aea7c1873cc727af0 /src
parentc266bd93852b156b1436e203bb0f691139274f3d (diff)
downloadblogc-beb44f4372e0af7dafc7fff6f5184737d61fc8d3.tar.gz
blogc-beb44f4372e0af7dafc7fff6f5184737d61fc8d3.tar.bz2
blogc-beb44f4372e0af7dafc7fff6f5184737d61fc8d3.zip
error: content parser won't raise errors
Diffstat (limited to 'src')
-rw-r--r--src/error.c3
-rw-r--r--src/error.h1
2 files changed, 0 insertions, 4 deletions
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 {