aboutsummaryrefslogtreecommitdiffstats
path: root/src/reader.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2011-01-25 01:06:40 +0000
committerDavid Robillard <d@drobilla.net>2011-01-25 01:06:40 +0000
commit96409977963010ec345fe894d2c5e300d0876848 (patch)
treef445909e3b8aae83ba95f71dd53dcf56559a78e3 /src/reader.c
parenteab3301711168ac934c27c9c331a9742ac848b1c (diff)
downloadserd-96409977963010ec345fe894d2c5e300d0876848.tar.gz
serd-96409977963010ec345fe894d2c5e300d0876848.tar.bz2
serd-96409977963010ec345fe894d2c5e300d0876848.zip
Remove odd/nonsensical/impossible else case.
git-svn-id: http://svn.drobilla.net/serd/trunk@60 490d8e77-9747-427b-9fa3-0b8f29cee8a0
Diffstat (limited to 'src/reader.c')
-rw-r--r--src/reader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/reader.c b/src/reader.c
index e0ffd816..5d4fc3c5 100644
--- a/src/reader.c
+++ b/src/reader.c
@@ -923,7 +923,7 @@ read_literal(SerdReader reader, Node* dest)
}
*dest = make_node(SERD_LITERAL, str, datatype.value, lang);
} else {
- *dest = make_node(SERD_CURIE, read_qname(reader), 0, 0);
+ return error(reader, "Unknown literal type\n");
}
return true;
except: