mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-22 10:48:02 +00:00
Reap dead code
usr.bin/dc/inout.c Reap some dead code that was killed back in 2003 in OpenBSD, in version 1.8 of this file. MFC after: 3 weeks
This commit is contained in:
parent
8d14ca9c99
commit
9ccdc62331
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=326455
|
@ -216,12 +216,7 @@ readnumber(struct source *src, u_int base)
|
|||
n->scale++;
|
||||
|
||||
bn_check(BN_mul_word(n->number, base));
|
||||
|
||||
#if 0
|
||||
/* work around a bug in BN_add_word: 0 += 0 is buggy.... */
|
||||
if (v > 0)
|
||||
#endif
|
||||
bn_check(BN_add_word(n->number, v));
|
||||
bn_check(BN_add_word(n->number, v));
|
||||
}
|
||||
if (base != 10) {
|
||||
scale_number(n->number, n->scale);
|
||||
|
|
Loading…
Reference in a new issue