aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-02-21 02:45:44 +0000
committerDavid Robillard <d@drobilla.net>2012-02-21 02:45:44 +0000
commit8893d8fcc15f2c8f85527ccf3f68dceaed8b2566 (patch)
treee5101fd6d2d41f54b8c5c0c2f70abc866b15999d
parent62b72ec9b7dd20a9b676e958c4c17886b23d9ca7 (diff)
downloadserd-8893d8fcc15f2c8f85527ccf3f68dceaed8b2566.tar.gz
serd-8893d8fcc15f2c8f85527ccf3f68dceaed8b2566.tar.bz2
serd-8893d8fcc15f2c8f85527ccf3f68dceaed8b2566.zip
Remove dead code.
git-svn-id: http://svn.drobilla.net/serd/trunk@318 490d8e77-9747-427b-9fa3-0b8f29cee8a0
-rw-r--r--src/writer.c11
1 files changed, 3 insertions, 8 deletions
diff --git a/src/writer.c b/src/writer.c
index 5c99b366..91113d97 100644
--- a/src/writer.c
+++ b/src/writer.c
@@ -444,18 +444,13 @@ write_list_obj(SerdWriter* writer,
const SerdNode* lang)
{
if (!strcmp((const char*)object->buf, NS_RDF "nil")) {
- if (flags & SERD_LIST_CONT) {
- --writer->indent;
- write_sep(writer, SEP_LIST_END);
- return true;
- } else {
- sink("()", 2, 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);
}
-
write_node(writer, object, datatype, lang, FIELD_OBJECT, flags);
}
return false;