]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - utf8lib.c
get rid of a warning
[xonotic/darkplaces.git] / utf8lib.c
index 16a94a7ae7fefe2fe108543fb69c52f39e68a780..6fbd5f62a8e2283e560f554ec7ab51f27c9b0697 100644 (file)
--- a/utf8lib.c
+++ b/utf8lib.c
@@ -62,9 +62,8 @@ Uchar utf8_range[5] = {
 static qboolean u8_analyze(const char *_s, size_t *_start, size_t *_len, Uchar *_ch, size_t _maxlen)
 {
        const unsigned char *s = (const unsigned char*)_s;
-       //unsigned char bt;//, bc;
-       size_t i;
-       size_t bits, j;
+       size_t i, j;
+       size_t bits = 0;
        Uchar ch;
 
        i = 0;