bc: fix "dc only" build
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 26 Dec 2018 18:06:05 +0000 (19:06 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 26 Dec 2018 18:06:05 +0000 (19:06 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
miscutils/bc.c

index 2237a41b5899354520355e82ce37a77d557c4945..47cde7080e2b0cd7d76cc53529a26230c5fb9bdc 100644 (file)
@@ -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);)