diff options
author | Felipe Oliveira Carvalho <felipekde@gmail.com> | 2014-04-19 01:56:26 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-04-24 10:31:31 -0300 |
commit | 4b6b9117b3e8b9b624c354a703f01f0980c60946 (patch) | |
tree | 8d7e650ddb40e5424f46e5854633164bca13cf4d /src/buffer.c | |
parent | 15d8f702a81803cf716b0da2b7b5c88e171580a6 (diff) | |
download | rneovim-4b6b9117b3e8b9b624c354a703f01f0980c60946.tar.gz rneovim-4b6b9117b3e8b9b624c354a703f01f0980c60946.tar.bz2 rneovim-4b6b9117b3e8b9b624c354a703f01f0980c60946.zip |
No OOM error condition in prep_exarg()
Diffstat (limited to 'src/buffer.c')
-rw-r--r-- | src/buffer.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/buffer.c b/src/buffer.c index b6b999e920..3af7df19f1 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -4659,10 +4659,7 @@ int buf_contents_changed(buf_T *buf) return TRUE; /* Force the 'fileencoding' and 'fileformat' to be equal. */ - if (prep_exarg(&ea, buf) == FAIL) { - wipe_buffer(newbuf, FALSE); - return TRUE; - } + prep_exarg(&ea, buf); /* set curwin/curbuf to buf and save a few things */ aucmd_prepbuf(&aco, newbuf); |