OSSP CVS Repository

ossp - Check-in [2579]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 2579
Date: 2002-Oct-14 17:44:03 (local)
2002-Oct-14 15:44:03 (UTC)
User:mlelstv
Branch:
Comment: remove debugging assert()

PR: Submitted by: Reviewed by: Approved by: Obtained from:

Tickets:
Inspections:
Files:
ossp-pkg/sio/al.c      1.7 -> 1.8     0 inserted, 3 deleted

ossp-pkg/sio/al.c 1.7 -> 1.8

--- al.c 2002/10/14 15:41:37     1.7
+++ al.c 2002/10/14 15:44:03     1.8
@@ -1,4 +1,3 @@
-#include <assert.h>
 #include <stddef.h>
 #include <stdlib.h>
 #include <string.h>
@@ -354,8 +353,6 @@
 static
 void dispose_chunk(al_t *al, al_chunk_t *alc)
 {
-        assert(NEXT(alc,chunks) == NULL && PREV(alc,chunks) == NULL);
-
         --alc->buf->usecount;
         if (alc->buf->usecount == 0)
             dispose_buffer(al,alc->buf);

CVSTrac 2.0.1