bc: remove superfluous assigment
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
680ccd3573
commit
8797adc1c6
@ -2642,7 +2642,6 @@ static void bc_num_parseBase(BcNum *n, const char *val, unsigned base_t)
|
|||||||
BcNum base;
|
BcNum base;
|
||||||
BcDig temp_digs[ULONG_NUM_BUFSIZE];
|
BcDig temp_digs[ULONG_NUM_BUFSIZE];
|
||||||
BcDig base_digs[ULONG_NUM_BUFSIZE];
|
BcDig base_digs[ULONG_NUM_BUFSIZE];
|
||||||
BcDig c = '\0';
|
|
||||||
size_t digits;
|
size_t digits;
|
||||||
|
|
||||||
bc_num_init_DEF_SIZE(&mult);
|
bc_num_init_DEF_SIZE(&mult);
|
||||||
@ -2657,6 +2656,7 @@ static void bc_num_parseBase(BcNum *n, const char *val, unsigned base_t)
|
|||||||
|
|
||||||
for (;;) {
|
for (;;) {
|
||||||
unsigned v;
|
unsigned v;
|
||||||
|
char c;
|
||||||
|
|
||||||
c = *val++;
|
c = *val++;
|
||||||
if (c == '\0') goto int_err;
|
if (c == '\0') goto int_err;
|
||||||
@ -2679,6 +2679,7 @@ static void bc_num_parseBase(BcNum *n, const char *val, unsigned base_t)
|
|||||||
digits = 0;
|
digits = 0;
|
||||||
for (;;) {
|
for (;;) {
|
||||||
unsigned v;
|
unsigned v;
|
||||||
|
char c;
|
||||||
|
|
||||||
c = *val++;
|
c = *val++;
|
||||||
if (c == '\0') break;
|
if (c == '\0') break;
|
||||||
|
Loading…
Reference in New Issue
Block a user