sh: Remove output.c's reset() handler.

These cleanup operations are not needed because they are already performed
after an optimized command substitution (whether there was an error or not).
This commit is contained in:
Jilles Tjoelker 2013-07-25 13:09:17 +00:00
parent 48f2741c29
commit f85336594c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=253649

View File

@ -75,25 +75,6 @@ struct output memout = {NULL, 0, NULL, 0, MEM_OUT, 0};
struct output *out1 = &output;
struct output *out2 = &errout;
#ifdef mkinit
INCLUDE "output.h"
INCLUDE "memalloc.h"
RESET {
out1 = &output;
out2 = &errout;
if (memout.buf != NULL) {
ckfree(memout.buf);
memout.buf = NULL;
}
}
#endif
void
outcslow(int c, struct output *file)
{