]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
get rid of a warning
authorblub <blub@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 30 Dec 2009 11:09:00 +0000 (11:09 +0000)
committerblub <blub@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 30 Dec 2009 11:09:00 +0000 (11:09 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9744 d7cf8633-e32d-0410-b094-e92efae38249

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;