Remove assignment to variables not in use.
[yaz-moved-to-github.git] / src / icu_chain.c
index 8cc9a64..4f36502 100644 (file)
@@ -1,5 +1,5 @@
 /* This file is part of the YAZ toolkit.
- * Copyright (C) 1995-2010 Index Data
+ * Copyright (C) 1995-2011 Index Data
  * See the file LICENSE for details.
  */
 
@@ -176,7 +176,7 @@ struct icu_chain_step *icu_chain_step_clone(struct icu_chain_step *old)
             (*sp)->u.tokenizer = icu_tokenizer_clone(old->u.tokenizer);
             break;
         case YAZ_chain_step_type_stemming:
-            yaz_stemmer_clone(step->u.stemmer);
+            (*sp)->u.stemmer = yaz_stemmer_clone(old->u.stemmer);
             break;
         case ICU_chain_step_type_none:
             break;