Mercurial > hg > sidinfo
comparison sidinfo.c @ 336:5c2e77ec45e8
Initialize setChConv structure with memset().
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Mon, 13 Jan 2020 13:40:49 +0200 |
parents | 293fce53b5f9 |
children | 7ad937740139 |
comparison
equal
deleted
inserted
replaced
335:293fce53b5f9 | 336:5c2e77ec45e8 |
---|---|
1161 "This program is distributed under a 3-clause BSD -style license."); | 1161 "This program is distributed under a 3-clause BSD -style license."); |
1162 | 1162 |
1163 th_verbosity = 0; | 1163 th_verbosity = 0; |
1164 | 1164 |
1165 memset(&optFormat, 0, sizeof(optFormat)); | 1165 memset(&optFormat, 0, sizeof(optFormat)); |
1166 memset(&setChConv, 0, sizeof(setChConv)); | |
1166 | 1167 |
1167 // Initialize character set conversion | 1168 // Initialize character set conversion |
1168 if ((ret = sidutil_chconv_init(&setChConv, setLang)) != THERR_OK) | 1169 if ((ret = sidutil_chconv_init(&setChConv, setLang)) != THERR_OK) |
1169 { | 1170 { |
1170 THERR("Could not initialize character set conversion (LANG='%s'): %s\n", | 1171 THERR("Could not initialize character set conversion (LANG='%s'): %s\n", |