From 0223069d29d1f41eaf30695ad6af8d4e9a91883c Mon Sep 17 00:00:00 2001 From: carl Date: Sun, 16 Jun 2019 01:27:49 +0800 Subject: [PATCH] Cleanup of modified code fixing several overflow checking issues. --- util/int/do_intar.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/util/int/do_intar.c b/util/int/do_intar.c index 8d0e559ec..df81f5511 100644 --- a/util/int/do_intar.c +++ b/util/int/do_intar.c @@ -181,9 +181,6 @@ PRIVATE long dvi(long w1, long w2, size nbytes) } - if (must_test && !(IgnMask&BIT(EIOVFL))) - { - } return (w1 / w2); } @@ -240,10 +237,6 @@ PRIVATE long sli(long w1, long w2, size nbytes) trap(EIOVFL); } -/* if ((w1 < 0) && (w2 != 0) && ((w1 >> (nbytes*8 - w2)) != -1)) - { - trap(EIOVFL); - }*/ } }