From fadd4706edccee76355b384d84f43be8528347b2 Mon Sep 17 00:00:00 2001 From: Dorota Czaplejewicz Date: Wed, 27 Nov 2019 15:09:16 +0000 Subject: virtual_keyboard: Accept keycode 0 --- util/array.c | 1 - 1 file changed, 1 deletion(-) (limited to 'util') diff --git a/util/array.c b/util/array.c index 7095870d..b708b577 100644 --- a/util/array.c +++ b/util/array.c @@ -24,7 +24,6 @@ bool set_add(uint32_t values[], size_t *len, size_t cap, uint32_t target) { if (*len == cap) { return false; } - assert(target > 0); for (uint32_t i = 0; i < *len; ++i) { if (values[i] == target) { return false; -- cgit v1.2.3