X-Git-Url: http://git.xonotic.org/?a=blobdiff_plain;f=utf8lib.c;h=6fbd5f62a8e2283e560f554ec7ab51f27c9b0697;hb=02d7fcc5c3668e2ff5df5838fba4074f66c37842;hp=f7dff508feedb1d0b8e2d564be1000342e835e87;hpb=4179695da1ac792122d83a295dc3d405e86f2c78;p=xonotic%2Fdarkplaces.git diff --git a/utf8lib.c b/utf8lib.c index f7dff508..6fbd5f62 100644 --- 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;