mirror of
https://github.com/neovim/neovim.git
synced 2025-09-20 18:28:19 +00:00
Remove nonnullret deadcode: xmalloc.
This commit is contained in:
@@ -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);
|
||||
|
Reference in New Issue
Block a user