mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
remove dead code
This commit is contained in:
parent
a29213a3a2
commit
96dcac7a74
2 changed files with 8 additions and 6 deletions
|
@ -310,15 +310,16 @@ GSDecimalRound(GSDecimal *result, int scale, NSRoundingMode mode)
|
|||
case NSRoundBankers:
|
||||
n = result->cMantissa[l];
|
||||
if (n > 5)
|
||||
up = YES;
|
||||
{
|
||||
up = YES;
|
||||
}
|
||||
else if (n < 5)
|
||||
up = NO;
|
||||
{
|
||||
up = NO;
|
||||
}
|
||||
else
|
||||
{
|
||||
if (0 == l)
|
||||
c = 0;
|
||||
else
|
||||
c = result->cMantissa[l-1];
|
||||
c = result->cMantissa[l-1];
|
||||
up = ((c % 2) != 0);
|
||||
}
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue