From 278dec0664977a9ffa438624d3f3f3ea02afb31b Mon Sep 17 00:00:00 2001 From: Laurent MONIN Date: Mon, 5 Mar 2007 21:10:02 +0100 Subject: [PATCH] Fix gcc warning: value computed is not used. Patch by Alexey Tourbin. --- src/intl/charsets.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/intl/charsets.c b/src/intl/charsets.c index c8702927f..cdb859825 100644 --- a/src/intl/charsets.c +++ b/src/intl/charsets.c @@ -829,10 +829,10 @@ get_translation_table_to_utf8(int from) from &= ~SYSTEM_CHARSET_FLAG; if (from == lfr) return utf_table; lfr = from; - if (utf_table_init) - memset(utf_table, 0, sizeof(utf_table)), + if (utf_table_init) { + memset(utf_table, 0, sizeof(utf_table)); utf_table_init = 0; - else + } else free_utf_table(); for (i = 0; i < 128; i++)