diff options
Diffstat (limited to 'src/cursor/cur_json.c')
-rw-r--r-- | src/cursor/cur_json.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cursor/cur_json.c b/src/cursor/cur_json.c index d590dbd828a..a0a3ffdd974 100644 --- a/src/cursor/cur_json.c +++ b/src/cursor/cur_json.c @@ -270,7 +270,6 @@ __wt_json_alloc_unpack(WT_SESSION_IMPL *session, const void *buffer, bool iskey, va_list ap) { WT_CONFIG_ITEM *names; - WT_DECL_RET; size_t needed; char **json_bufp; @@ -288,7 +287,7 @@ __wt_json_alloc_unpack(WT_SESSION_IMPL *session, const void *buffer, WT_RET(__json_struct_unpackv(session, buffer, size, fmt, names, (u_char *)*json_bufp, needed + 1, iskey, ap)); - return (ret); + return (0); } /* |