From 8893d8fcc15f2c8f85527ccf3f68dceaed8b2566 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Tue, 21 Feb 2012 02:45:44 +0000 Subject: Remove dead code. git-svn-id: http://svn.drobilla.net/serd/trunk@318 490d8e77-9747-427b-9fa3-0b8f29cee8a0 --- src/writer.c | 11 +++-------- 1 file changed, 3 insertions(+), 8 deletions(-) (limited to 'src') 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; -- cgit v1.2.1