From 79da3bb879e22335cab87379498af6b7855db35a Mon Sep 17 00:00:00 2001 From: Erik Boasson Date: Thu, 16 Jul 2020 14:19:37 +0200 Subject: [PATCH] Remove dead store in test_oneliner Signed-off-by: Erik Boasson --- src/core/ddsc/tests/test_oneliner.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/ddsc/tests/test_oneliner.c b/src/core/ddsc/tests/test_oneliner.c index 8c19b65..ecd0ca6 100644 --- a/src/core/ddsc/tests/test_oneliner.c +++ b/src/core/ddsc/tests/test_oneliner.c @@ -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);