0
0
mirror of https://github.com/vim/vim.git synced 2025-09-25 03:54:15 -04:00

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.
This commit is contained in:
Bram Moolenaar
2020-02-29 17:38:12 +01:00
parent 57c339569e
commit dd58923c6b
7 changed files with 30 additions and 13 deletions

View File

@@ -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;