diff options
author | David Robillard <d@drobilla.net> | 2018-12-30 14:08:44 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2018-12-30 14:08:44 -0500 |
commit | 230bbb885ee420ef3627247c8c6fe74ba80b6db9 (patch) | |
tree | 4d3ac23c352848ec0e2bedf7fbe587c75f5c6a4f /tests/serd_test.c | |
parent | 15d1977557ac8f18ea5e4846ac67321d20e79ca2 (diff) | |
download | serd-230bbb885ee420ef3627247c8c6fe74ba80b6db9.tar.gz serd-230bbb885ee420ef3627247c8c6fe74ba80b6db9.tar.bz2 serd-230bbb885ee420ef3627247c8c6fe74ba80b6db9.zip |
Fix unused parameter warnings
Diffstat (limited to 'tests/serd_test.c')
-rw-r--r-- | tests/serd_test.c | 10 |
1 files changed, 10 insertions, 0 deletions
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; |