Mercurial > dovecot > core-2.2
changeset 18945:6e89241d1995
lib-fts: Minor cleanup - initialize err with U_ZERO_ERROR instead of 0.
They're the same though.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 17 Aug 2015 14:25:59 +0300 |
parents | f7f6ec738683 |
children | c71c4dceee97 |
files | src/lib-fts/fts-icu.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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);