diff options
author | Dorota Czaplejewicz <dorota.czaplejewicz@puri.sm> | 2019-11-27 15:09:16 +0000 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2019-11-27 16:49:12 +0100 |
commit | fadd4706edccee76355b384d84f43be8528347b2 (patch) | |
tree | 6c54d764b457b5e26a051f206ca0b7fdf28a11bb /util | |
parent | 5df606d8ab4555b0830ff302c8e6374e4c0e34f4 (diff) |
virtual_keyboard: Accept keycode 0
Diffstat (limited to 'util')
-rw-r--r-- | util/array.c | 1 |
1 files changed, 0 insertions, 1 deletions
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; |