summaryrefslogtreecommitdiff
path: root/pp.c
diff options
context:
space:
mode:
authorFather Chrysostomos <sprout@cpan.org>2012-06-13 08:45:16 -0700
committerFather Chrysostomos <sprout@cpan.org>2012-06-15 12:28:15 -0700
commit118e2215c7570362a701ac5fda6148b6d3542eae (patch)
tree248694801974be0578e4ccc9e8d90fd7db5d4b32 /pp.c
parent0d856a3ae8873b88b1fb47a0d9520f3db9e27b85 (diff)
downloadperl-118e2215c7570362a701ac5fda6148b6d3542eae.tar.gz
Use assertions for /* NOT REACHED */
to make sure it really is never reached.
Diffstat (limited to 'pp.c')
-rw-r--r--pp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pp.c b/pp.c
index d482286f8e..0a6a115079 100644
--- a/pp.c
+++ b/pp.c
@@ -1970,7 +1970,7 @@ Perl_do_ncmp(pTHX_ SV* const left, SV * const right)
return (leftuv > (UV)rightiv) - (leftuv < (UV)rightiv);
}
}
- /* NOTREACHED */
+ assert(0); /* NOTREACHED */
}
#endif
{