commit | dd58923c6bcb026de7134d9874e69e0a2b01682d | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Feb 29 17:38:12 2020 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Feb 29 17:38:12 2020 +0100 |
tree | 96e5bb7145241ace4d7f217640cecb039d2b3d5d | |
parent | 57c339569e96725e24e79944bf99f70c50afb5b1 [diff] [blame] |
patch 8.2.0334: abort called when using test_void() Problem: Abort called when using test_void(). (Dominique Pelle) Solution: Only give an error, don't abort.
diff --git a/src/json.c b/src/json.c index d5e5782..f4a03e6 100644 --- a/src/json.c +++ b/src/json.c
@@ -352,7 +352,7 @@ #endif case VAR_UNKNOWN: case VAR_VOID: - internal_error("json_encode_item()"); + internal_error_no_abort("json_encode_item()"); return FAIL; } return OK;