]> jfr.im git - irc/quakenet/newserv.git/commitdiff
Remove assert in wwc_derefchannel().
authorGunnar Beutner <redacted>
Sat, 8 Feb 2014 07:31:36 +0000 (08:31 +0100)
committerGunnar Beutner <redacted>
Sat, 8 Feb 2014 07:31:36 +0000 (08:31 +0100)
whowas/whowas_channels.c

index 518179171ae2ad7d94c7d4099a045c27657886c8..c70bce49f09f44ea8001ad4a8b492fdf7740a3be 100644 (file)
@@ -20,8 +20,6 @@ static void wwc_derefchannel(chanindex *cip) {
   uintptr_t *refcount = (uintptr_t *)&cip->exts[wwccext];
   (*refcount)--;
 
-  assert(*refcount >= 0);
-
   if (*refcount == 0)
     releasechanindex(cip);
 }