From af3b1f509a27cb38ca5c9cb7a22cd384f5ca7c70 Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Mon, 8 Nov 2010 15:24:46 +0100 Subject: [PATCH] ICU: remove check for attr rule (not required) --- src/icu_chain.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/icu_chain.c b/src/icu_chain.c index c6f21ef..e6044d4 100644 --- a/src/icu_chain.c +++ b/src/icu_chain.c @@ -270,13 +270,6 @@ struct icu_chain *icu_chain_xml_config(const xmlNode *xml_node, if (!rule && node->children) rule = nmem_text_node_cdata(node->children, nmem); - if (!rule || !*rule) - { - yaz_log(YLOG_WARN, "Missing rule for element '%s'", node->name); - no_errors++; - continue; - } - if (!strcmp((const char *) node->name, "casemap")) step = icu_chain_insert_step(chain, ICU_chain_step_type_casemap, (const uint8_t *) rule, status); -- 1.7.10.4