Remove nonnullret deadcode: xmalloc.

This commit is contained in:
Eliseo Martínez
2015-01-23 14:38:39 +01:00
parent 883e3a7a73
commit 00f18e2e09
3 changed files with 5 additions and 13 deletions

View File

@@ -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);