From c6075401c271b40ca6fc29c4134f75e7ddbc0016 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Thu, 27 Nov 2008 08:00:12 +0000 Subject: =?UTF-8?q?Get=20rid=20of=20bogus=20"control=20may=20reach=20end?= =?UTF-8?q?=20of=20non-void=20function=20=E2=80=98...=E2=80=99=20being=20i?= =?UTF-8?q?nlined"=20message.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit llvm-svn: 60165 --- llvm/lib/Support/APFloat.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'llvm/lib/Support/APFloat.cpp') diff --git a/llvm/lib/Support/APFloat.cpp b/llvm/lib/Support/APFloat.cpp index a65e55a..4da7144 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 -- cgit v1.1