From 1e87b97da62ea20dbf72f7507f09cf1a8a66a35f Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Wed, 26 Dec 2018 19:06:05 +0100 Subject: [PATCH] bc: fix "dc only" build Signed-off-by: Denys Vlasenko --- miscutils/bc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/miscutils/bc.c b/miscutils/bc.c index 2237a41b5..47cde7080 100644 --- a/miscutils/bc.c +++ b/miscutils/bc.c @@ -3559,7 +3559,7 @@ static void bc_parse_reset(void) static void bc_parse_free(void) { - BcParse *p = &G.prs; + IF_BC(BcParse *p = &G.prs;) IF_BC(bc_vec_free(&p->exits);) IF_BC(bc_vec_free(&p->conds);) IF_BC(bc_vec_free(&p->ops);) -- 2.25.1