diff options
author | Lukas Mai <l.mai@web.de> | 2014-11-29 12:37:50 +0100 |
---|---|---|
committer | Father Chrysostomos <sprout@cpan.org> | 2014-11-29 06:05:16 -0800 |
commit | e59642234eb8b658c16fed728636bfbbc49c4514 (patch) | |
tree | 3387394bff0e7e2f7ac09564be7493e6a71619d2 /perlio.c | |
parent | b7bea5dafa8e0cb5ca70b7525fbd6b51eb723815 (diff) | |
download | perl-e59642234eb8b658c16fed728636bfbbc49c4514.tar.gz |
make more use of NOT_REACHED
In particular, remove all instances of 'assert(0);'.
Diffstat (limited to 'perlio.c')
-rw-r--r-- | perlio.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -2745,7 +2745,7 @@ PerlIOUnix_read(pTHX_ PerlIO *f, void *vbuf, Size_t count) if (PL_sig_pending && S_perlio_async_run(aTHX_ f)) return -1; } - /*NOTREACHED*/ + NOT_REACHED; /*NOTREACHED*/ } SSize_t @@ -2774,7 +2774,7 @@ PerlIOUnix_write(pTHX_ PerlIO *f, const void *vbuf, Size_t count) if (PL_sig_pending && S_perlio_async_run(aTHX_ f)) return -1; } - /*NOTREACHED*/ + NOT_REACHED; /*NOTREACHED*/ } Off_t |