From 565c473977fcfb1c941c19afbeaaa8bc6fff5ea5 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Thu, 24 May 2007 10:56:38 +0000 Subject: [PATCH] Removed unneeded initialization of more_tokens and need_new_token. Simplified initialization of buf16 chain member. --- src/icu_I18N.c | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/icu_I18N.c b/src/icu_I18N.c index d3d7e3e..a1ff12c 100644 --- a/src/icu_I18N.c +++ b/src/icu_I18N.c @@ -1,4 +1,4 @@ -/* $Id: icu_I18N.c,v 1.20 2007-05-24 10:51:36 adam Exp $ +/* $Id: icu_I18N.c,v 1.21 2007-05-24 10:56:38 adam Exp $ Copyright (c) 2006-2007, Index Data. This file is part of Pazpar2. @@ -769,13 +769,8 @@ struct icu_chain_step * icu_chain_step_create(struct icu_chain * chain, step = (struct icu_chain_step *) malloc(sizeof(struct icu_chain_step)); step->type = type; - step->more_tokens = 0; - step->need_new_token = 1; - if (buf16) - step->buf16 = buf16; - else - step->buf16 = 0; + step->buf16 = buf16; // create auxilary objects switch(step->type) { -- 1.7.10.4