localized/util: Resolve uninitialized warnings

This commit is contained in:
Peter Howkins 2021-12-22 01:14:05 +00:00 committed by Jon Trulson
parent ef10a4924c
commit 7a08d8cedc
1 changed files with 1 additions and 1 deletions

View File

@ -484,7 +484,7 @@ chkcontin(char *line)
{
int len; /* # bytes in character */
wchar_t wc; /* process code of current character in line */
wchar_t wcprev; /* process code of previous character in line */
wchar_t wcprev = '\0'; /* process code of previous character in line */
for (wc=0; *line; line+=len) {
wcprev = wc;