aboutsummaryrefslogtreecommitdiffstats
path: root/src/describe.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/describe.c')
-rw-r--r--src/describe.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/describe.c b/src/describe.c
index 4a087222..695217fd 100644
--- a/src/describe.c
+++ b/src/describe.c
@@ -295,10 +295,12 @@ serd_describe_range(const SerdCursor* const range,
assert(sink);
- SerdStatus st = SERD_SUCCESS;
- SerdCursor copy = *range;
- ZixHash* const list_subjects = zix_hash_new(identity, ptr_hash, ptr_equals);
- DescribeContext ctx = {range->model, sink, list_subjects, flags};
+ SerdStatus st = SERD_SUCCESS;
+ SerdCursor copy = *range;
+ ZixHash* const list_subjects =
+ zix_hash_new(NULL, identity, ptr_hash, ptr_equals);
+
+ DescribeContext ctx = {range->model, sink, list_subjects, flags};
st = write_pretty_range(&ctx, 0, &copy, NULL, (flags & SERD_NO_TYPE_FIRST));