Change 33248 by [EMAIL PROTECTED] on 2008/02/08 11:04:23

        Remove redundant check

Affected files ...

... //depot/perl/perlio.c#377 edit

Differences ...

==== //depot/perl/perlio.c#377 (text) ====
Index: perl/perlio.c
--- perl/perlio.c#376~33182~    2008-02-02 03:05:17.000000000 -0800
+++ perl/perlio.c       2008-02-08 03:04:23.000000000 -0800
@@ -4102,10 +4102,8 @@
     if (!b->buf)
        PerlIO_get_base(f);
     b->ptr = ptr;
-    if (PerlIO_get_cnt(f) != cnt || b->ptr < b->buf) {
-       assert(PerlIO_get_cnt(f) == cnt);
-       assert(b->ptr >= b->buf);
-    }
+    assert(PerlIO_get_cnt(f) == cnt);
+    assert(b->ptr >= b->buf);
     PerlIOBase(f)->flags |= PERLIO_F_RDBUF;
 }
 
End of Patch.

Reply via email to