diff options
author | David Robillard <d@drobilla.net> | 2020-06-21 17:38:10 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-06-21 18:06:24 +0200 |
commit | d1867d49399c1a73f108c6bf8df8183984bbe03a (patch) | |
tree | f19d022c2f3b4032f2b6aab8995bcfc157329eb1 /src | |
parent | 6cba665d30cca6f1a0df3b46071e50efdb928192 (diff) | |
download | serd-d1867d49399c1a73f108c6bf8df8183984bbe03a.tar.gz serd-d1867d49399c1a73f108c6bf8df8183984bbe03a.tar.bz2 serd-d1867d49399c1a73f108c6bf8df8183984bbe03a.zip |
Cleanup: Remove unnecessary stores
Diffstat (limited to 'src')
-rw-r--r-- | src/n3.c | 2 | ||||
-rw-r--r-- | src/uri.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1147,7 +1147,7 @@ read_collection(SerdReader* reader, ReadContext ctx, Ref* dest) Ref rest = 0; ctx.subject = *dest; - while (!(end = peek_delim(reader, ')'))) { + while (!peek_delim(reader, ')')) { // _:node rdf:first object ctx.predicate = reader->rdf_first; bool ate_dot = false; @@ -413,7 +413,7 @@ write_rel_path(SerdSink sink, } // Write suffix - return len += write_path_tail(sink, stream, uri, last_shared_sep + 1); + return len + write_path_tail(sink, stream, uri, last_shared_sep + 1); } static uint8_t |