aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/n3.c2
-rw-r--r--src/uri.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/n3.c b/src/n3.c
index 4b9ba7cf..bcaf7aba 100644
--- a/src/n3.c
+++ b/src/n3.c
@@ -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;
diff --git a/src/uri.c b/src/uri.c
index 4528f0f4..dd306bf5 100644
--- a/src/uri.c
+++ b/src/uri.c
@@ -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