diff options
author | Steve Peters <steve@fisharerojo.org> | 2008-02-08 21:55:48 +0000 |
---|---|---|
committer | Steve Peters <steve@fisharerojo.org> | 2008-02-08 21:55:48 +0000 |
commit | f8a4dbc572aee3db3959c5d7f46910e19960b963 (patch) | |
tree | a4310c978ec7b7da01de9445d15ceddf9605687c /perlio.c | |
parent | 7e8c2d18d3c652cc69ad75e73b2b8f2ab220bfbd (diff) | |
download | perl-f8a4dbc572aee3db3959c5d7f46910e19960b963.tar.gz |
Remove an unneeded if statement.
p4raw-id: //depot/perl@33261
Diffstat (limited to 'perlio.c')
-rw-r--r-- | perlio.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -3400,9 +3400,7 @@ PerlIOStdio_set_ptrcnt(pTHX_ PerlIO *f, STDCHAR * ptr, SSize_t cnt) #ifdef STDIO_PTR_LVALUE PerlSIO_set_ptr(stdio, ptr); /* LHS STDCHAR* cast non-portable */ #ifdef STDIO_PTR_LVAL_SETS_CNT - if (PerlSIO_get_cnt(stdio) != (cnt)) { - assert(PerlSIO_get_cnt(stdio) == (cnt)); - } + assert(PerlSIO_get_cnt(stdio) == (cnt)); #endif #if (!defined(STDIO_PTR_LVAL_NOCHANGE_CNT)) /* |