localized/util: Resolve uninitialized warnings
This commit is contained in:
committed by
Jon Trulson
parent
ef10a4924c
commit
7a08d8cedc
@@ -484,7 +484,7 @@ chkcontin(char *line)
|
|||||||
{
|
{
|
||||||
int len; /* # bytes in character */
|
int len; /* # bytes in character */
|
||||||
wchar_t wc; /* process code of current character in line */
|
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) {
|
for (wc=0; *line; line+=len) {
|
||||||
wcprev = wc;
|
wcprev = wc;
|
||||||
|
|||||||
Reference in New Issue
Block a user