diff --git a/hush.c b/hush.c index 71e40489d..976fa3805 100644 --- a/hush.c +++ b/hush.c @@ -1660,7 +1660,6 @@ int reserved_word(o_string *dest, struct p_context *ctx) old->child->group = ctx->list_head; *ctx = *old; /* physical copy */ free(old); - ctx->w=RES_NONE; } b_reset (dest); return 1; diff --git a/shell/hush.c b/shell/hush.c index 71e40489d..976fa3805 100644 --- a/shell/hush.c +++ b/shell/hush.c @@ -1660,7 +1660,6 @@ int reserved_word(o_string *dest, struct p_context *ctx) old->child->group = ctx->list_head; *ctx = *old; /* physical copy */ free(old); - ctx->w=RES_NONE; } b_reset (dest); return 1;