summaryrefslogtreecommitdiff
path: root/perlio.c
diff options
context:
space:
mode:
authorLukas Mai <l.mai@web.de>2014-11-29 12:37:50 +0100
committerFather Chrysostomos <sprout@cpan.org>2014-11-29 06:05:16 -0800
commite59642234eb8b658c16fed728636bfbbc49c4514 (patch)
tree3387394bff0e7e2f7ac09564be7493e6a71619d2 /perlio.c
parentb7bea5dafa8e0cb5ca70b7525fbd6b51eb723815 (diff)
downloadperl-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/perlio.c b/perlio.c
index a05e414b0d..95b748222f 100644
--- a/perlio.c
+++ b/perlio.c
@@ -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