summaryrefslogtreecommitdiffhomepage
path: root/miscutils/bc.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2018-12-26 19:06:05 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2018-12-26 19:06:05 +0100
commit1e87b97da62ea20dbf72f7507f09cf1a8a66a35f (patch)
tree84a385414bf82c1beb4d4278549b5765e819174c /miscutils/bc.c
parent2f7352b4f5d9d319de03b7bce2b877e2be90e8c3 (diff)
bc: fix "dc only" build
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils/bc.c')
-rw-r--r--miscutils/bc.c2
1 files changed, 1 insertions, 1 deletions
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);)