From 3979c76b27aaa035b3f9bddc4956ab69c410fc25 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 11 Dec 2011 23:52:06 +0000 Subject: Fix debug build without --stack-check. git-svn-id: http://svn.drobilla.net/serd/trunk@245 490d8e77-9747-427b-9fa3-0b8f29cee8a0 --- src/reader.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/reader.c b/src/reader.c index a1ff0d1c..da70e6db 100644 --- a/src/reader.c +++ b/src/reader.c @@ -649,7 +649,9 @@ read_longString(SerdReader* reader, SerdNodeFlags* flags) { eat_string(reader, "\"\"\"", 3); Ref ref = push_node(reader, SERD_LITERAL, "", 0); +#ifdef SERD_STACK_CHECK assert(stack_is_top_node(reader, ref)); +#endif SerdStatus st; while (!(st = read_lcharacter(reader, ref, flags))) {} if (st < SERD_ERR_UNKNOWN) { -- cgit v1.2.1