diff options
author | David Robillard <d@drobilla.net> | 2012-01-06 23:10:12 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-01-06 23:10:12 +0000 |
commit | be42496e09caf2c60d8bd71786ab8b352900a725 (patch) | |
tree | b6c581839c3d310303f08760cee36cd0a12ddc61 /src | |
parent | 847e56d9e696b813d1cdf3da6d54df5e7b389eae (diff) | |
download | serd-be42496e09caf2c60d8bd71786ab8b352900a725.tar.gz serd-be42496e09caf2c60d8bd71786ab8b352900a725.tar.bz2 serd-be42496e09caf2c60d8bd71786ab8b352900a725.zip |
Remove unused parameter.
git-svn-id: http://svn.drobilla.net/serd/trunk@281 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'src')
-rw-r--r-- | src/reader.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/reader.c b/src/reader.c index 836aa349..b66221ff 100644 --- a/src/reader.c +++ b/src/reader.c @@ -286,7 +286,7 @@ static bool read_collection(SerdReader* reader, ReadContext ctx, Ref* dest); static bool -read_predicateObjectList(SerdReader* reader, ReadContext ctx, bool blank); +read_predicateObjectList(SerdReader* reader, ReadContext ctx); // [40] hex ::= [#x30-#x39] | [#x41-#x46] static inline uint8_t @@ -1038,7 +1038,7 @@ read_blank(SerdReader* reader, ReadContext ctx, bool subject, Ref* dest) if (!subject) { *ctx.flags |= SERD_ANON_CONT; } - read_predicateObjectList(reader, ctx, true); + read_predicateObjectList(reader, ctx); read_ws_star(reader); eat_byte_check(reader, ']'); if (reader->end_sink) { @@ -1143,7 +1143,7 @@ except: // Spec: [8] objectList ::= object ( ',' object )* // Impl: [8] objectList ::= object ( ws* ',' ws* object )* static bool -read_objectList(SerdReader* reader, ReadContext ctx, bool blank) +read_objectList(SerdReader* reader, ReadContext ctx) { TRY_RET(read_object(reader, ctx)); read_ws_star(reader); @@ -1161,13 +1161,13 @@ read_objectList(SerdReader* reader, ReadContext ctx, bool blank) // Impl: [7] predicateObjectList ::= verb ws* objectList // (ws* ';' ws* verb ws+ objectList)* (';')? static bool -read_predicateObjectList(SerdReader* reader, ReadContext ctx, bool blank) +read_predicateObjectList(SerdReader* reader, ReadContext ctx) { Ref predicate = 0; TRY_RET(read_verb(reader, &predicate)); read_ws_star(reader); ctx.predicate = predicate; - TRY_THROW(read_objectList(reader, ctx, blank)); + TRY_THROW(read_objectList(reader, ctx)); pop_node(reader, predicate); predicate = 0; read_ws_star(reader); @@ -1181,7 +1181,7 @@ read_predicateObjectList(SerdReader* reader, ReadContext ctx, bool blank) TRY_THROW(read_verb(reader, &predicate)); ctx.predicate = predicate; read_ws_star(reader); - TRY_THROW(read_objectList(reader, ctx, blank)); + TRY_THROW(read_objectList(reader, ctx)); pop_node(reader, predicate); predicate = 0; read_ws_star(reader); @@ -1276,7 +1276,7 @@ read_triples(SerdReader* reader, ReadContext ctx) if (subject) { ctx.subject = subject; TRY_RET(read_ws_plus(reader)); - ret = read_predicateObjectList(reader, ctx, false); + ret = read_predicateObjectList(reader, ctx); pop_node(reader, subject); } ctx.subject = ctx.predicate = 0; |