Author: asomers Date: Sat Dec 2 06:05:03 2017 New Revision: 326455 URL: https://svnweb.freebsd.org/changeset/base/326455
Log: 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 Modified: head/usr.bin/dc/inout.c Modified: head/usr.bin/dc/inout.c ============================================================================== --- head/usr.bin/dc/inout.c Sat Dec 2 02:21:27 2017 (r326454) +++ head/usr.bin/dc/inout.c Sat Dec 2 06:05:03 2017 (r326455) @@ -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); _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"