diff options
author | David Robillard <d@drobilla.net> | 2012-02-21 02:45:44 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-02-21 02:45:44 +0000 |
commit | 8893d8fcc15f2c8f85527ccf3f68dceaed8b2566 (patch) | |
tree | e5101fd6d2d41f54b8c5c0c2f70abc866b15999d /src/writer.c | |
parent | 62b72ec9b7dd20a9b676e958c4c17886b23d9ca7 (diff) | |
download | serd-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
Diffstat (limited to 'src/writer.c')
-rw-r--r-- | src/writer.c | 11 |
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; |