summaryrefslogtreecommitdiff
path: root/src/runtime
diff options
context:
space:
mode:
authorkr.angelov <kr.angelov@gmail.com>2013-09-13 08:30:57 +0000
committerkr.angelov <kr.angelov@gmail.com>2013-09-13 08:30:57 +0000
commitd10a3830b858418299bdd1f78543f79e5b68721f (patch)
tree065cdacc744a3571617af447e89d6713df74ec98 /src/runtime
parent2e8f05516416095dc5bee68552bfdeb4f88c10e5 (diff)
fix a warning in utf8.c
Diffstat (limited to 'src/runtime')
-rw-r--r--src/runtime/c/gu/utf8.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/runtime/c/gu/utf8.c b/src/runtime/c/gu/utf8.c
index 2377f1ac2..2a77304a9 100644
--- a/src/runtime/c/gu/utf8.c
+++ b/src/runtime/c/gu/utf8.c
@@ -146,7 +146,6 @@ gu_in_utf8_buf(uint8_t** buf, GuIn* in, GuExn* err)
*buf = p;
return;
}
- static const uint8_t mask[4] = { 0x7f, 0x1f, 0x0f, 0x07 };
// If reading the extra bytes causes EOF, it is an encoding
// error, not a legitimate end of character stream.
GuExn* tmp_err = gu_exn(err, GuEOF, NULL);