summaryrefslogtreecommitdiff
path: root/src/json.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-02-29 17:38:12 +0100
committerBram Moolenaar <Bram@vim.org>2020-02-29 17:38:12 +0100
commitdd58923c6bcb026de7134d9874e69e0a2b01682d (patch)
tree96e5bb7145241ace4d7f217640cecb039d2b3d5d /src/json.c
parent57c339569e96725e24e79944bf99f70c50afb5b1 (diff)
downloadvim-git-dd58923c6bcb026de7134d9874e69e0a2b01682d.tar.gz
patch 8.2.0334: abort called when using test_void()v8.2.0334
Problem: Abort called when using test_void(). (Dominique Pelle) Solution: Only give an error, don't abort.
Diffstat (limited to 'src/json.c')
-rw-r--r--src/json.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/json.c b/src/json.c
index d5e5782c5..f4a03e61a 100644
--- a/src/json.c
+++ b/src/json.c
@@ -352,7 +352,7 @@ json_encode_item(garray_T *gap, typval_T *val, int copyID, int options)
#endif
case VAR_UNKNOWN:
case VAR_VOID:
- internal_error("json_encode_item()");
+ internal_error_no_abort("json_encode_item()");
return FAIL;
}
return OK;