aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-05-03 15:38:33 -0400
committerDavid Robillard <d@drobilla.net>2023-05-03 15:38:33 -0400
commit5c3bc9ca3f5122c78f531d73fc0405f0f8dcc73a (patch)
tree0211cedc73705a9330d13463e691703aca94d05d
parent71c62172be0570f9253995f7f01d18e884175fbc (diff)
downloadserd-5c3bc9ca3f5122c78f531d73fc0405f0f8dcc73a.tar.gz
serd-5c3bc9ca3f5122c78f531d73fc0405f0f8dcc73a.tar.bz2
serd-5c3bc9ca3f5122c78f531d73fc0405f0f8dcc73a.zip
Remove redundant wrapper function
-rw-r--r--src/reader.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/reader.c b/src/reader.c
index b386a76e..32535ceb 100644
--- a/src/reader.c
+++ b/src/reader.c
@@ -161,12 +161,6 @@ emit_statement(SerdReader* const reader,
}
static SerdStatus
-read_statement(SerdReader* const reader)
-{
- return read_n3_statement(reader);
-}
-
-static SerdStatus
read_doc(SerdReader* const reader)
{
return ((reader->syntax == SERD_NQUADS) ? read_nquadsDoc(reader)
@@ -363,7 +357,7 @@ serd_reader_read_chunk(SerdReader* const reader)
st = skip_byte(reader, 0);
}
- return st ? st : read_statement(reader);
+ return st ? st : read_n3_statement(reader);
}
SerdStatus