Mercurial > hg > sidinfo
changeset 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 |
files | sidinfo.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/sidinfo.c Mon Jan 13 13:40:18 2020 +0200 +++ b/sidinfo.c Mon Jan 13 13:40:49 2020 +0200 @@ -1163,6 +1163,7 @@ th_verbosity = 0; memset(&optFormat, 0, sizeof(optFormat)); + memset(&setChConv, 0, sizeof(setChConv)); // Initialize character set conversion if ((ret = sidutil_chconv_init(&setChConv, setLang)) != THERR_OK)