--- JSON-XS/XS.xs 2009/09/05 23:00:56 1.100 +++ JSON-XS/XS.xs 2009/09/08 18:00:03 1.101 @@ -951,11 +951,10 @@ else if (ch >= 0x80) { STRLEN clen; - UV uch; --dec_cur; - uch = decode_utf8 (dec_cur, dec->end - dec_cur, &clen); + decode_utf8 (dec_cur, dec->end - dec_cur, &clen); if (clen == (STRLEN)-1) ERR ("malformed UTF-8 character in JSON string");