diff --git a/src/connector/odbc/src/todbc_iconv.h b/src/connector/odbc/src/todbc_iconv.h index e2e8b55603f9eba87b8f206525ace17be4f7065e..269900f8f1fc77da2bdf6dd4e298ed765e5e7e9e 100644 --- a/src/connector/odbc/src/todbc_iconv.h +++ b/src/connector/odbc/src/todbc_iconv.h @@ -53,10 +53,10 @@ typedef struct todbc_iconvset_s todbc_iconvset_t; typedef struct todbc_iconv_s todbc_iconv_t; typedef struct todbc_enc_s todbc_enc_t; struct todbc_enc_s { - char enc[64]; int char_size; // character size at most int null_size; // size for null terminator int variable_char_size; // such as 3 for UTF8 + char enc[64]; // move here to satisfy todbc_enc_t enc = {0}; }; todbc_iconvset_t* todbc_iconvset_create(void);