summaryrefslogtreecommitdiff
path: root/pith/charconv
diff options
context:
space:
mode:
authorEduardo Chappa <chappa@washington.edu>2021-05-21 20:58:51 -0600
committerEduardo Chappa <chappa@washington.edu>2021-05-21 20:58:51 -0600
commitd31cd71e5a3d73e20cfff89968c7b932d451f75c (patch)
tree264309197f0d847683df0ef960f87d5734c5f225 /pith/charconv
parent2e57dfe03e4df802d530ae217415d50419ab4e20 (diff)
downloadalpine-d31cd71e5a3d73e20cfff89968c7b932d451f75c.tar.xz
* Clear out some gcc warnings, and code improvement. Work in progress.
Diffstat (limited to 'pith/charconv')
-rw-r--r--pith/charconv/utf8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pith/charconv/utf8.c b/pith/charconv/utf8.c
index 42a364b3..6b1e2e9d 100644
--- a/pith/charconv/utf8.c
+++ b/pith/charconv/utf8.c
@@ -236,7 +236,7 @@ convert_to_utf8(char *str, char *fromcharset, int flags)
char *ret = NULL;
char *fcharset;
SIZEDTEXT src, result;
- const CHARSET *cs;
+ const CHARSET *cs = NULL;
int try;
src.data = (unsigned char *) str;