aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Support
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2011-11-28 18:50:37 +0000
committerEli Friedman <eli.friedman@gmail.com>2011-11-28 18:50:37 +0000
commitf9b1cd0c7f7ca7324eacc46db10438cd9dccb70f (patch)
treed13c01426c5afbfe8571d886f5ff675eab1ad5b6 /lib/Support
parent60f790c329b2f0fa9e83acfadd8858e6b4eef071 (diff)
downloadexternal_llvm-f9b1cd0c7f7ca7324eacc46db10438cd9dccb70f.zip
external_llvm-f9b1cd0c7f7ca7324eacc46db10438cd9dccb70f.tar.gz
external_llvm-f9b1cd0c7f7ca7324eacc46db10438cd9dccb70f.tar.bz2
Add back a line I deleted by accident in r145141. Fixes uninitialized variable warnings and runtime failures.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@145256 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support')
-rw-r--r--lib/Support/APFloat.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Support/APFloat.cpp b/lib/Support/APFloat.cpp
index 0ae6f1c..70e7afd 100644
--- a/lib/Support/APFloat.cpp
+++ b/lib/Support/APFloat.cpp
@@ -1917,6 +1917,7 @@ APFloat::convert(const fltSemantics &toSemantics,
fs = opOK;
} else {
*losesInfo = false;
+ fs = opOK;
}
return fs;