X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=ucw%2Fres-subpool.c;h=f0a112c6b4bfb8ea3aea3080be9ee52f073bdd77;hb=6912c77a66798de162fe31f79581cd7b5c97f12c;hp=5b4271308b31e288e75a55c2a4b14b302ce38e2d;hpb=c41d616c80443a7755eab3e9135ae618427e5407;p=libucw.git diff --git a/ucw/res-subpool.c b/ucw/res-subpool.c index 5b427130..f0a112c6 100644 --- a/ucw/res-subpool.c +++ b/ucw/res-subpool.c @@ -7,8 +7,8 @@ * of the GNU Lesser General Public License. */ -#include "ucw/lib.h" -#include "ucw/respool.h" +#include +#include #include @@ -28,7 +28,7 @@ subpool_res_detach(struct resource *r) } static void -subpool_res_dump(struct resource *r, uns indent) +subpool_res_dump(struct resource *r, uint indent) { printf(":\n"); rp_dump(r->priv, indent); @@ -46,7 +46,6 @@ res_subpool(struct respool *rp) { ASSERT(!rp->subpool_of); struct resource *r = res_new(&subpool_res_class, rp); - ASSERT(r); ASSERT(r->rpool != rp); // Avoid simple loops rp->subpool_of = r; return r;