From efeec04ee7f36cd14b8d8136734af4b28860ffb8 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 24 Jan 2008 16:13:12 +0000 Subject: [PATCH] assert on NULL ptr fror zebra_maps_is_icu --- util/zebramap.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 1.7.10.4