From c773ee7aa487a3c7cb9ca0302a31018840790531 Mon Sep 17 00:00:00 2001 From: Nicholas Clark Date: Fri, 3 Feb 2006 20:12:10 +0000 Subject: Silence a warning about "statement not reached" from the Sun C compiler. It was accurate - the conditional code used to give 2 return statements. p4raw-id: //depot/perl@27071 --- mathoms.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'mathoms.c') diff --git a/mathoms.c b/mathoms.c index 29dbc571d6..3f541f60ea 100644 --- 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 -- cgit v1.2.1