From: Nicholas Clark Date: Fri, 3 Feb 2006 20:12:10 +0000 (+0000) Subject: Silence a warning about "statement not reached" from the Sun C compiler. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=c773ee7aa487a3c7cb9ca0302a31018840790531;p=p5sagit%2Fp5-mst-13.2.git 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 --- diff --git a/mathoms.c b/mathoms.c index 29dbc57..3f541f6 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