projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
452df92
)
bc: remove unused strings
author
Denys Vlasenko
<vda.linux@googlemail.com>
Wed, 5 Dec 2018 19:33:23 +0000
(20:33 +0100)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Wed, 5 Dec 2018 19:33:23 +0000
(20:33 +0100)
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>
miscutils/bc.c
patch
|
blob
|
history
diff --git
a/miscutils/bc.c
b/miscutils/bc.c
index b454d4b2bd85a325b8b6a6b9f13d93884abfd847..0908d7cb90ddc5f37c1a7f6333c20d302e99cb3c 100644
(file)
--- 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;