aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/unicode/prop/uprop_blkname.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/unicode/prop/uprop_blkname.c b/lib/unicode/prop/uprop_blkname.c
index 52616c5..490f133 100644
--- a/lib/unicode/prop/uprop_blkname.c
+++ b/lib/unicode/prop/uprop_blkname.c
@@ -339,6 +339,6 @@ static const struct u8view lookup[] = {
struct u8view
uprop_blkname(enum uprop_blk blk)
{
- ASSUME(blk >= 0 && blk < lengthof(lookup));
+ ASSUME(blk < lengthof(lookup));
return lookup[blk];
}