projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5a5c9a5
)
Get rid of bogus "control may reach end of non-void function ‘...’ being
author
Bill Wendling
<isanbard@gmail.com>
Thu, 27 Nov 2008 08:00:12 +0000
(08:00 +0000)
committer
Bill Wendling
<isanbard@gmail.com>
Thu, 27 Nov 2008 08:00:12 +0000
(08:00 +0000)
inlined" message.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@60165
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Support/APFloat.cpp
patch
|
blob
|
history
diff --git
a/lib/Support/APFloat.cpp
b/lib/Support/APFloat.cpp
index a65e55afb56d4a50eadbcc199e4efd3d5018d7e5..4da71441983d54210283e82e568d8c7075fe26db 100644
(file)
--- 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