From: Steve Peters <steve@fisharerojo.org>
Date: Fri, 8 Feb 2008 21:55:48 +0000 (+0000)
Subject: Remove an unneeded if statement.
X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=f8a4dbc572aee3db3959c5d7f46910e19960b963;p=p5sagit%2Fp5-mst-13.2.git

Remove an unneeded if statement.

p4raw-id: //depot/perl@33261
---

diff --git a/perlio.c b/perlio.c
index d9c1e97..6cec440 100644
--- a/perlio.c
+++ b/perlio.c
@@ -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))
 	/*