From be73a431cd4e151c77d3024b7ee09197e4a4910a Mon Sep 17 00:00:00 2001 From: Adam Dickmeiss Date: Fri, 14 Jun 2013 13:35:19 +0200 Subject: [PATCH] Fix un-init var in icu_iter_get_org_info YAZ-665 --- src/icu_chain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/icu_chain.c b/src/icu_chain.c index 730edde..bcb27b4 100644 --- a/src/icu_chain.c +++ b/src/icu_chain.c @@ -567,7 +567,7 @@ void icu_iter_get_org_info(yaz_icu_iter_t iter, size_t *start, size_t *len) int32_t save_len = iter->org->utf16_len; struct icu_buf_utf8 *tmp = icu_buf_utf8_create(0); - UErrorCode status; + UErrorCode status = U_ZERO_ERROR; iter->org->utf16_len = iter->org_start; icu_utf16_to_utf8(tmp, iter->org, &status); -- 1.7.10.4