aboutsummaryrefslogtreecommitdiff
path: root/miscutils
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2018-12-05 20:33:23 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2018-12-05 20:33:23 +0100
commitaad652a69a77401c83546c64fd9ef96bc3c953f1 (patch)
tree73601cf2aed9ceca8622330f516de3dd66cec819 /miscutils
parent452df923f7f5ae47f3076d7da562946af6123ca9 (diff)
downloadbusybox-aad652a69a77401c83546c64fd9ef96bc3c953f1.tar.gz
bc: remove unused strings
text data bss dec hex filename 987088 485 7296 994869 f2e35 busybox_old 987079 485 7296 994860 f2e2c busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'miscutils')
-rw-r--r--miscutils/bc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/miscutils/bc.c b/miscutils/bc.c
index b454d4b2b..0908d7cb9 100644
--- a/miscutils/bc.c
+++ b/miscutils/bc.c
@@ -5827,9 +5827,9 @@ static BcStatus bc_program_assign(char inst)
static const char *const msg[] = {
"bad ibase; must be [2, 16]", //BC_RESULT_IBASE
"bad scale; must be [0, BC_SCALE_MAX]", //BC_RESULT_SCALE
- "?1", //BC_RESULT_LAST
- "?2", //BC_RESULT_CONSTANT
- "?3", //BC_RESULT_ONE
+ NULL, //can't happen //BC_RESULT_LAST
+ NULL, //can't happen //BC_RESULT_CONSTANT
+ NULL, //can't happen //BC_RESULT_ONE
"bad obase; must be [2, BC_BASE_MAX]", //BC_RESULT_OBASE
};
size_t *ptr;