# HG changeset patch # User Matti Hamalainen # Date 1578915649 -7200 # Node ID 5c2e77ec45e88af266d21cbbf795625260e5a683 # Parent 293fce53b5f9253ae4f13583a8075304464b99c6 Initialize setChConv structure with memset(). diff -r 293fce53b5f9 -r 5c2e77ec45e8 sidinfo.c --- 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)