aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/test_reader_writer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/test_reader_writer.c b/test/test_reader_writer.c
index f526a68c..8cbce04e 100644
--- a/test/test_reader_writer.c
+++ b/test/test_reader_writer.c
@@ -40,7 +40,9 @@ static size_t
eof_test_read(void* buf, size_t size, size_t nmemb, void* stream)
{
assert(size == 1);
+ assert(nmemb == 1);
(void)size;
+ (void)nmemb;
static const char* const string = "_:s1 <http://example.org/p> _:o1 .\n"
"_:s2 <http://example.org/p> _:o2 .\n";