diff options
author | Bill Wendling <isanbard@gmail.com> | 2008-11-27 08:00:12 +0000 |
---|---|---|
committer | Bill Wendling <isanbard@gmail.com> | 2008-11-27 08:00:12 +0000 |
commit | c6075401c271b40ca6fc29c4134f75e7ddbc0016 (patch) | |
tree | 762b79587fc37b4a10f05e69c5bafb94d38caad1 /llvm/lib/Support | |
parent | d6204bed3d1dad085cc7030ef5920846afe758b5 (diff) | |
download | bcm5719-llvm-c6075401c271b40ca6fc29c4134f75e7ddbc0016.tar.gz bcm5719-llvm-c6075401c271b40ca6fc29c4134f75e7ddbc0016.zip |
Get rid of bogus "control may reach end of non-void function ‘...’ being
inlined" message.
llvm-svn: 60165
Diffstat (limited to 'llvm/lib/Support')
-rw-r--r-- | llvm/lib/Support/APFloat.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Support/APFloat.cpp b/llvm/lib/Support/APFloat.cpp index a65e55afb56..4da71441983 100644 --- a/llvm/lib/Support/APFloat.cpp +++ b/llvm/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 |