aboutsummaryrefslogtreecommitdiffstats
path: root/src/serdi.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/serdi.c')
-rw-r--r--src/serdi.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/src/serdi.c b/src/serdi.c
index 78de1ad3..2eea3919 100644
--- a/src/serdi.c
+++ b/src/serdi.c
@@ -84,14 +84,6 @@ missing_arg(const char* name, char opt)
}
static SerdStatus
-quiet_error_func(void* const handle, const SerdError* const e)
-{
- (void)handle;
- (void)e;
- return SERD_SUCCESS;
-}
-
-static SerdStatus
read_file(SerdWorld* const world,
SerdSyntax syntax,
const SerdReaderFlags flags,
@@ -310,7 +302,7 @@ main(int argc, char** argv)
serd_writer_new(world, output_syntax, writer_flags, env, byte_sink);
if (quiet) {
- serd_world_set_error_func(world, quiet_error_func, NULL);
+ serd_world_set_log_func(world, serd_quiet_error_func, NULL);
}
SerdNode* root = serd_new_uri(SERD_MEASURE_STRING(root_uri));