From: Adam Dickmeiss Date: Thu, 24 Jan 2008 16:13:12 +0000 (+0000) Subject: assert on NULL ptr fror zebra_maps_is_icu X-Git-Tag: ZEBRA.2.0.26~11 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=efeec04ee7f36cd14b8d8136734af4b28860ffb8;p=idzebra-moved-to-github.git assert on NULL ptr fror zebra_maps_is_icu --- diff --git a/util/zebramap.c b/util/zebramap.c index 67613ec..f462ef9 100644 --- a/util/zebramap.c +++ b/util/zebramap.c @@ -1,4 +1,4 @@ -/* $Id: zebramap.c,v 1.77 2007-12-20 19:05:12 adam Exp $ +/* $Id: zebramap.c,v 1.78 2008-01-24 16:13:12 adam Exp $ Copyright (C) 1995-2007 Index Data ApS @@ -731,6 +731,7 @@ int zebra_map_tokenize_start(zebra_map_t zm, int zebra_maps_is_icu(zebra_map_t zm) { + assert(zm); #if YAZ_HAVE_ICU return zm->use_chain; #else