aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-02-21 04:34:05 +0000
committerDavid Robillard <d@drobilla.net>2012-02-21 04:34:05 +0000
commit079da60958cd6adb450e6f489acd86282049ec64 (patch)
tree9276c5c4b32bed65297e231240a3566aa5287df8 /src
parent418a485c0045c8e96c3668cabf8f7ffefe6871d2 (diff)
downloadserd-079da60958cd6adb450e6f489acd86282049ec64.tar.gz
serd-079da60958cd6adb450e6f489acd86282049ec64.tar.bz2
serd-079da60958cd6adb450e6f489acd86282049ec64.zip
Trim code.
git-svn-id: http://svn.drobilla.net/serd/trunk@322 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'src')
-rw-r--r--src/writer.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/writer.c b/src/writer.c
index 91113d97..8bdd3382 100644
--- a/src/writer.c
+++ b/src/writer.c
@@ -447,10 +447,8 @@ write_list_obj(SerdWriter* writer,
--writer->indent;
write_sep(writer, SEP_LIST_END);
return true;
- } else if (strcmp((const char*)predicate->buf, NS_RDF "rest")) {
- if (!strcmp((const char*)predicate->buf, NS_RDF "first")) {
- write_sep(writer, SEP_LIST_SEP);
- }
+ } else if (!strcmp((const char*)predicate->buf, NS_RDF "first")) {
+ write_sep(writer, SEP_LIST_SEP);
write_node(writer, object, datatype, lang, FIELD_OBJECT, flags);
}
return false;