projects
/
yaz-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33d5369
)
Fix un-init var in icu_iter_get_org_info YAZ-665
author
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 14 Jun 2013 11:35:19 +0000
(13:35 +0200)
committer
Adam Dickmeiss
<adam@indexdata.dk>
Fri, 14 Jun 2013 11:35:19 +0000
(13:35 +0200)
src/icu_chain.c
patch
|
blob
|
history
diff --git
a/src/icu_chain.c
b/src/icu_chain.c
index
730edde
..
bcb27b4
100644
(file)
--- 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);