diff options
author | Nicholas Clark <nick@ccl4.org> | 2006-02-03 20:12:10 +0000 |
---|---|---|
committer | Nicholas Clark <nick@ccl4.org> | 2006-02-03 20:12:10 +0000 |
commit | c773ee7aa487a3c7cb9ca0302a31018840790531 (patch) | |
tree | 6d36ab5b358a387a10f6989bc00046362ce7fb37 /mathoms.c | |
parent | cdd8118e49c05b43bd2785d9a269d538a4e8fe8c (diff) | |
download | perl-c773ee7aa487a3c7cb9ca0302a31018840790531.tar.gz |
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
Diffstat (limited to 'mathoms.c')
-rw-r--r-- | mathoms.c | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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 |