mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-14 11:32:34 +00:00
Fix an uninitialized value warning in APFloat.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79353 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2a80dc7814
commit
f8bc801c6c
@ -2132,7 +2132,7 @@ APFloat::opStatus
|
||||
APFloat::convertFromHexadecimalString(const StringRef &s,
|
||||
roundingMode rounding_mode)
|
||||
{
|
||||
lostFraction lost_fraction;
|
||||
lostFraction lost_fraction = lfExactlyZero;
|
||||
integerPart *significand;
|
||||
unsigned int bitPos, partsCount;
|
||||
StringRef::iterator dot, firstSignificantDigit;
|
||||
@ -2159,7 +2159,6 @@ APFloat::convertFromHexadecimalString(const StringRef &s,
|
||||
|
||||
hex_value = hexDigitValue(*p);
|
||||
if(hex_value == -1U) {
|
||||
lost_fraction = lfExactlyZero;
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user