aboutsummaryrefslogtreecommitdiffstats
path: root/src/reader.h
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.h
parentec42a28933be723ad274a3013bece33fc043d535 (diff)
downloadserd-9b67e27573df7518f136a446268551bd3939cc78.tar.gz
serd-9b67e27573df7518f136a446268551bd3939cc78.tar.bz2
serd-9b67e27573df7518f136a446268551bd3939cc78.zip
Fix unused parameter warnings
Diffstat (limited to 'src/reader.h')
-rw-r--r--src/reader.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/reader.h b/src/reader.h
index 723a1c5a..f6cbc7ad 100644
--- a/src/reader.h
+++ b/src/reader.h
@@ -36,6 +36,8 @@ eat_byte(SerdReader* reader)
static inline uint8_t
eat_byte_safe(SerdReader* reader, const uint8_t byte)
{
+ (void)byte;
+
const uint8_t c = eat_byte(reader);
assert(c == byte);
return c;