diff options
Diffstat (limited to 'src/serdi.c')
-rw-r--r-- | src/serdi.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/serdi.c b/src/serdi.c index 9a5495af..28cf870d 100644 --- a/src/serdi.c +++ b/src/serdi.c @@ -86,14 +86,6 @@ missing_arg(const char* const name, const 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, @@ -333,7 +325,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_set_log_func(world, serd_quiet_log_func, NULL); } if (root_uri) { |