diff options
| author | oni-link <knil.ino@gmail.com> | 2014-04-24 21:38:46 +0200 |
|---|---|---|
| committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-04-29 15:04:21 -0300 |
| commit | dc9b680debed30723bed7ec71b66327377fd0d86 (patch) | |
| tree | 6bf5c75f97de790dfbef55a0d51857332759ee47 /src/eval.h | |
| parent | 6797a3e78887559903e46c5242290d821357f332 (diff) | |
| download | rneovim-dc9b680debed30723bed7ec71b66327377fd0d86.tar.gz rneovim-dc9b680debed30723bed7ec71b66327377fd0d86.tar.bz2 rneovim-dc9b680debed30723bed7ec71b66327377fd0d86.zip | |
Call to list_append_tv cannot fail.
Clean up the use of list_append_tv and remove error checks.
Diffstat (limited to 'src/eval.h')
| -rw-r--r-- | src/eval.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/eval.h b/src/eval.h index a15762ea5e..20d6bfe119 100644 --- a/src/eval.h +++ b/src/eval.h @@ -63,7 +63,7 @@ dictitem_T *dict_lookup(hashitem_T *hi); listitem_T *list_find(list_T *l, long n); char_u *list_find_str(list_T *l, long idx); void list_append(list_T *l, listitem_T *item); -int list_append_tv(list_T *l, typval_T *tv); +void list_append_tv(list_T *l, typval_T *tv); void list_append_dict(list_T *list, dict_T *dict); void list_append_string(list_T *l, char_u *str, int len); int list_insert_tv(list_T *l, typval_T *tv, listitem_T *item); |