[git commit] bc: fix "dc only" build

Denys Vlasenko vda.linux at googlemail.com
Wed Dec 26 18:06:05 UTC 2018


commit: https://git.busybox.net/busybox/commit/?id=1e87b97da62ea20dbf72f7507f09cf1a8a66a35f
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master

Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
 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);)


More information about the busybox-cvs mailing list