ash: trivial code shrink

function                                             old     new   delta
parse_command                                       1677    1674      -3

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2018-04-10 01:20:26 +02:00
parent 1f27fa9838
commit 57b7efb0d5

View File

@ -11662,6 +11662,7 @@ simplecmd(void)
*vpp = NULL; *vpp = NULL;
*rpp = NULL; *rpp = NULL;
n = stzalloc(sizeof(struct ncmd)); n = stzalloc(sizeof(struct ncmd));
if (NCMD != 0)
n->type = NCMD; n->type = NCMD;
n->ncmd.linno = savelinno; n->ncmd.linno = savelinno;
n->ncmd.args = args; n->ncmd.args = args;