ICU transform: init ICU status
authorAdam Dickmeiss <adam@indexdata.dk>
Tue, 2 Feb 2010 11:25:12 +0000 (12:25 +0100)
committerAdam Dickmeiss <adam@indexdata.dk>
Tue, 2 Feb 2010 11:25:12 +0000 (12:25 +0100)
src/icu_transform.c

index b7ae9c3..0d75ff7 100644 (file)
@@ -37,7 +37,7 @@ struct icu_transform *icu_transform_clone(struct icu_transform *old)
 {
     struct icu_transform *transform
         = (struct icu_transform *) xmalloc(sizeof(struct icu_transform));
-    UErrorCode status;
+    UErrorCode status = U_ZERO_ERROR;
     assert(old);
     transform->action = old->action;
     assert(old->trans);