1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

Fix gcc warning: value computed is not used. Patch by Alexey Tourbin.

This commit is contained in:
Laurent MONIN 2007-03-05 21:10:02 +01:00 committed by Laurent MONIN
parent b1db599b37
commit 278dec0664

View File

@ -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++)