[llvm-commits] [llvm] r60165 - /llvm/trunk/lib/Support/APFloat.cpp
Bill Wendling
isanbard at gmail.com
Thu Nov 27 00:00:18 PST 2008
Author: void
Date: Thu Nov 27 02:00:12 2008
New Revision: 60165
URL: http://llvm.org/viewvc/llvm-project?rev=60165&view=rev
Log:
Get rid of bogus "control may reach end of non-void function ‘...’ being
inlined" message.
Modified:
llvm/trunk/lib/Support/APFloat.cpp
Modified: llvm/trunk/lib/Support/APFloat.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Support/APFloat.cpp?rev=60165&r1=60164&r2=60165&view=diff
==============================================================================
--- llvm/trunk/lib/Support/APFloat.cpp (original)
+++ llvm/trunk/lib/Support/APFloat.cpp Thu Nov 27 02:00:12 2008
@@ -2290,8 +2290,8 @@
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
More information about the llvm-commits
mailing list