dovecot-2.2: lib-fts: Minor cleanup - initialize err with U_ZERO...
dovecot at dovecot.org
dovecot at dovecot.org
Mon Aug 17 11:26:43 UTC 2015
details: http://hg.dovecot.org/dovecot-2.2/rev/6e89241d1995
changeset: 18945:6e89241d1995
user: Timo Sirainen <tss at iki.fi>
date: Mon Aug 17 14:25:59 2015 +0300
description:
lib-fts: Minor cleanup - initialize err with U_ZERO_ERROR instead of 0.
They're the same though.
diffstat:
src/lib-fts/fts-icu.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r f7f6ec738683 -r 6e89241d1995 src/lib-fts/fts-icu.c
--- a/src/lib-fts/fts-icu.c Mon Aug 17 13:18:03 2015 +0300
+++ b/src/lib-fts/fts-icu.c Mon Aug 17 14:25:59 2015 +0300
@@ -135,7 +135,7 @@
size_t avail_bytes, dest_pos = dest_utf8->used;
char *dest_data;
int dest_full_len;
- UErrorCode err = 0;
+ UErrorCode err = U_ZERO_ERROR;
avail_bytes = buffer_get_writable_size(dest_utf8) - dest_pos;
dest_data = buffer_get_space_unsafe(dest_utf8, dest_pos, avail_bytes);
More information about the dovecot-cvs
mailing list