From 230bbb885ee420ef3627247c8c6fe74ba80b6db9 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 30 Dec 2018 14:08:44 -0500 Subject: Fix unused parameter warnings --- tests/serd_test.c | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'tests/serd_test.c') diff --git a/tests/serd_test.c b/tests/serd_test.c index ef1acacb..e537a5f5 100644 --- a/tests/serd_test.c +++ b/tests/serd_test.c @@ -52,6 +52,9 @@ test_strtod(double dbl, double max_delta) static SerdStatus count_prefixes(void* handle, const SerdNode* name, const SerdNode* uri) { + (void)name; + (void)uri; + ++*(int*)handle; return SERD_SUCCESS; } @@ -71,6 +74,13 @@ test_sink(void* handle, const SerdNode* object_datatype, const SerdNode* object_lang) { + (void)flags; + (void)subject; + (void)predicate; + (void)object; + (void)object_datatype; + (void)object_lang; + ReaderTest* rt = (ReaderTest*)handle; ++rt->n_statements; rt->graph = graph; -- cgit v1.2.1