projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cdd8118
)
Silence a warning about "statement not reached" from the Sun C compiler.
author
Nicholas Clark
<nick@ccl4.org>
Fri, 3 Feb 2006 20:12:10 +0000
(20:12 +0000)
committer
Nicholas Clark
<nick@ccl4.org>
Fri, 3 Feb 2006 20:12:10 +0000
(20:12 +0000)
It was accurate - the conditional code used to give 2 return statements.
p4raw-id: //depot/perl@27071
mathoms.c
patch
|
blob
|
history
diff --git
a/mathoms.c
b/mathoms.c
index
29dbc57
..
3f541f6
100644
(file)
--- a/
mathoms.c
+++ b/
mathoms.c
@@
-435,10
+435,11
@@
Perl_printf_nocontext(const char *format, ...)
NV
Perl_huge(void)
{
-#
if defined(USE_LONG_DOUBLE) && defined(HUGE_VALL)
+# if defined(USE_LONG_DOUBLE) && defined(HUGE_VALL)
return HUGE_VALL;
-#
endif
+#
else
return HUGE_VAL;
+# endif
}
#endif