diff options
author | Eliseo Martínez <eliseomarmol@gmail.com> | 2015-01-23 14:38:39 +0100 |
---|---|---|
committer | Eliseo Martínez <eliseomarmol@gmail.com> | 2015-01-27 01:33:34 +0100 |
commit | 00f18e2e09af35494d0b94ae76a9dbc3e0319d89 (patch) | |
tree | e30a14192b64404578e415e2929888d57cd49fc7 /src/nvim/misc1.c | |
parent | 883e3a7a73ec246b3534bae9340b6c4e89c4c467 (diff) | |
download | rneovim-00f18e2e09af35494d0b94ae76a9dbc3e0319d89.tar.gz rneovim-00f18e2e09af35494d0b94ae76a9dbc3e0319d89.tar.bz2 rneovim-00f18e2e09af35494d0b94ae76a9dbc3e0319d89.zip |
Remove nonnullret deadcode: xmalloc.
Diffstat (limited to 'src/nvim/misc1.c')
-rw-r--r-- | src/nvim/misc1.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/nvim/misc1.c b/src/nvim/misc1.c index aa4d2b38db..383e2bf6a5 100644 --- a/src/nvim/misc1.c +++ b/src/nvim/misc1.c @@ -3466,8 +3466,6 @@ get_cmd_output ( i = (int)fread((char *)buffer, (size_t)1, (size_t)len, fd); fclose(fd); os_remove((char *)tempname); - if (buffer == NULL) - goto done; if (i != len) { EMSG2(_(e_notread), tempname); free(buffer); |