aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Support
diff options
context:
space:
mode:
authorBill Wendling <isanbard@gmail.com>2008-11-27 08:00:12 +0000
committerBill Wendling <isanbard@gmail.com>2008-11-27 08:00:12 +0000
commit2f2253deb620c1905c7c8b9b3ff8f6b18b621181 (patch)
tree5460ea4579f867ba0d6f8f807ccf311f6f245517 /lib/Support
parenta07be6f31df071d2ec01b8de25925983ecbd6da3 (diff)
downloadexternal_llvm-2f2253deb620c1905c7c8b9b3ff8f6b18b621181.zip
external_llvm-2f2253deb620c1905c7c8b9b3ff8f6b18b621181.tar.gz
external_llvm-2f2253deb620c1905c7c8b9b3ff8f6b18b621181.tar.bz2
Get rid of bogus "control may reach end of non-void function ‘...’ being
inlined" message. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60165 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support')
-rw-r--r--lib/Support/APFloat.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Support/APFloat.cpp b/lib/Support/APFloat.cpp
index a65e55a..4da7144 100644
--- a/lib/Support/APFloat.cpp
+++ b/lib/Support/APFloat.cpp
@@ -2290,8 +2290,8 @@ APFloat::convertFromString(const char *p, roundingMode rounding_mode)
if(p[0] == '0' && (p[1] == 'x' || p[1] == 'X'))
return convertFromHexadecimalString(p + 2, rounding_mode);
- else
- return convertFromDecimalString(p, rounding_mode);
+
+ return convertFromDecimalString(p, rounding_mode);
}
/* Write out a hexadecimal representation of the floating point value