aboutsummaryrefslogtreecommitdiffstats
path: root/src/reader.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-12-30 14:08:44 -0500
committerDavid Robillard <d@drobilla.net>2019-01-05 18:55:50 +0100
commit9b67e27573df7518f136a446268551bd3939cc78 (patch)
tree4d3ac23c352848ec0e2bedf7fbe587c75f5c6a4f /src/reader.c
parentec42a28933be723ad274a3013bece33fc043d535 (diff)
downloadserd-9b67e27573df7518f136a446268551bd3939cc78.tar.gz
serd-9b67e27573df7518f136a446268551bd3939cc78.tar.bz2
serd-9b67e27573df7518f136a446268551bd3939cc78.zip
Fix unused parameter warnings
Diffstat (limited to 'src/reader.c')
-rw-r--r--src/reader.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/reader.c b/src/reader.c
index f37eac14..1a7f58d4 100644
--- a/src/reader.c
+++ b/src/reader.c
@@ -63,6 +63,9 @@ blank_id(SerdReader* reader)
static size_t
serd_file_read_byte(void* buf, size_t size, size_t nmemb, void* stream)
{
+ (void)size;
+ (void)nmemb;
+
const int c = getc((FILE*)stream);
if (c == EOF) {
*((uint8_t*)buf) = 0;