initialize stack variables

CIDs 1379939, 1379943
This commit is contained in:
Mike Blumenkrantz 2017-08-25 14:47:05 -04:00
parent 2d6f01a18d
commit 1cb85fbe26
1 changed files with 3 additions and 3 deletions

View File

@ -619,10 +619,10 @@ e_intl_locale_parts_get(const char *locale)
{
/* Parse Results */
E_Locale_Parts *locale_parts;
char language[4];
char language[4] = {0};
char territory[4] = {0};
char codeset[32];
char modifier[32];
char codeset[32] = {0};
char modifier[32] = {0};
/* Parse State */
int state = 0; /* start out looking for the language */