Silence a warning about "statement not reached" from the Sun C compiler.
Nicholas Clark [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

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