Remove dead store in test_oneliner

Signed-off-by: Erik Boasson <eb@ilities.com>
This commit is contained in:
Erik Boasson 2020-07-16 14:19:37 +02:00 committed by eboasson
parent c3f97b3740
commit 79da3bb879

View file

@ -1694,7 +1694,7 @@ static void dosetflags (struct oneliner_ctx *ctx)
int ent;
int tok;
union oneliner_tokval flagstok;
if ((tok = nexttok (&ctx->l, NULL)) != '(')
if (nexttok (&ctx->l, NULL) != '(')
error (ctx, "setflags: args required");
if ((tok = nexttok (&ctx->l, &flagstok)) == TOK_NAME)
tok = nexttok (&ctx->l, NULL);