From c6075401c271b40ca6fc29c4134f75e7ddbc0016 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Thu, 27 Nov 2008 08:00:12 +0000 Subject: Get rid of bogus "control may reach end of non-void function ‘...’ being inlined" message. 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 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 -- cgit v1.2.3