From 5304823b6d0dd99b7878937301a7639b4f2eca87 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 25 Apr 2005 10:42:08 +0000 Subject: [PATCH] Remove assert: if end-of-stream PP may not be leaf --- isamb/isamb.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/isamb/isamb.c b/isamb/isamb.c index 1f57c73..4744ae0 100644 --- a/isamb/isamb.c +++ b/isamb/isamb.c @@ -1,4 +1,4 @@ -/* $Id: isamb.c,v 1.77 2005-04-15 10:47:49 adam Exp $ +/* $Id: isamb.c,v 1.78 2005-04-25 10:42:08 adam Exp $ Copyright (C) 1995-2005 Index Data ApS @@ -1802,7 +1802,8 @@ void isamb_pp_pos(ISAMB_PP pp, double *current, double *total) struct ISAMB_block *p = pp->block[pp->level]; assert(total); assert(current); - assert(p->leaf); + + /* if end-of-stream PP may not be leaf */ *total = (double) (pp->block[0]->no_items); *current = (double) pp->returned_numbers; -- 1.7.10.4