1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

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

View file

@ -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;