diff options
author | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-10-06 19:46:16 -0600 |
---|---|---|
committer | Luke T. Shumaker <lukeshu@lukeshu.com> | 2024-10-06 19:46:16 -0600 |
commit | ff792542642cf1aee8da6069f45a7322af7c8a74 (patch) | |
tree | 9d4eb75b740c7ed6f088339d8595ac11970db12f /lib9p/map.h | |
parent | eabe7380e11468fbe8fa5b7bafdb4ce5b8a448ee (diff) |
s/assert(false)/__builtin_unreachable()/
Diffstat (limited to 'lib9p/map.h')
-rw-r--r-- | lib9p/map.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib9p/map.h b/lib9p/map.h index dcb6ecd..a13edb5 100644 --- a/lib9p/map.h +++ b/lib9p/map.h @@ -84,7 +84,7 @@ static VAL_T *MAP_METHOD(NAME,store)(struct NAME *m, KEY_T k, VAL_T v) { m->items[i].val = v; return &(m->items[i].val); } - assert(false); + __builtin_unreachable(); } /** |