diff options
author | James McCoy <jamessan@jamessan.com> | 2021-01-31 13:25:16 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-31 13:25:16 -0500 |
commit | e85c8dff692c894a614192f6dd8a4c71c1c9fe30 (patch) | |
tree | 077b5c54b39b538c09b44a419044648cc36fdce9 /src/nvim/eval/encode.c | |
parent | b2713f11b48fe8029aeae07ef6a55ef182a4fbfd (diff) | |
parent | 81794204ce85dd15a62a27275fe717c7033e65d5 (diff) | |
download | rneovim-e85c8dff692c894a614192f6dd8a4c71c1c9fe30.tar.gz rneovim-e85c8dff692c894a614192f6dd8a4c71c1c9fe30.tar.bz2 rneovim-e85c8dff692c894a614192f6dd8a4c71c1c9fe30.zip |
Merge pull request #12937 from jamessan/term-env
Diffstat (limited to 'src/nvim/eval/encode.c')
-rw-r--r-- | src/nvim/eval/encode.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/eval/encode.c b/src/nvim/eval/encode.c index 9a9f2e4287..a4d7af7971 100644 --- a/src/nvim/eval/encode.c +++ b/src/nvim/eval/encode.c @@ -174,7 +174,7 @@ static int conv_error(const char *const msg, const MPConvStack *const mpstack, case kMPConvPartial: { switch (v.data.p.stage) { case kMPConvPartialArgs: { - assert(false); + abort(); break; } case kMPConvPartialSelf: { @@ -237,7 +237,7 @@ bool encode_vim_list_to_buf(const list_T *const list, size_t *const ret_len, char *const buf = xmalloc(len); size_t read_bytes; if (encode_read_from_list(&lrstate, buf, len, &read_bytes) != OK) { - assert(false); + abort(); } assert(len == read_bytes); *ret_buf = buf; |