mirror of
https://github.com/opnsense/src.git
synced 2026-06-09 00:32:25 -04:00
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:
parent
48f2741c29
commit
f85336594c
1 changed files with 0 additions and 19 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue