aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/eval/decode.c
diff options
context:
space:
mode:
authorJames McCoy <jamessan@jamessan.com>2021-01-31 13:25:16 -0500
committerGitHub <noreply@github.com>2021-01-31 13:25:16 -0500
commite85c8dff692c894a614192f6dd8a4c71c1c9fe30 (patch)
tree077b5c54b39b538c09b44a419044648cc36fdce9 /src/nvim/eval/decode.c
parentb2713f11b48fe8029aeae07ef6a55ef182a4fbfd (diff)
parent81794204ce85dd15a62a27275fe717c7033e65d5 (diff)
downloadrneovim-e85c8dff692c894a614192f6dd8a4c71c1c9fe30.tar.gz
rneovim-e85c8dff692c894a614192f6dd8a4c71c1c9fe30.tar.bz2
rneovim-e85c8dff692c894a614192f6dd8a4c71c1c9fe30.zip
Merge pull request #12937 from jamessan/term-env
Diffstat (limited to 'src/nvim/eval/decode.c')
-rw-r--r--src/nvim/eval/decode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/nvim/eval/decode.c b/src/nvim/eval/decode.c
index 638fef331a..bd4dc87d31 100644
--- a/src/nvim/eval/decode.c
+++ b/src/nvim/eval/decode.c
@@ -147,7 +147,7 @@ static inline int json_decoder_pop(ValuesStackItem obj,
tv_clear(&key.val);
if (tv_dict_add(last_container.container.vval.v_dict, obj_di)
== FAIL) {
- assert(false);
+ abort();
}
obj_di->di_tv = obj.val;
} else {
@@ -480,7 +480,7 @@ static inline int parse_json_string(const char *const buf, const size_t buf_len,
break;
}
default: {
- assert(false);
+ abort();
}
}
} else {