summaryrefslogtreecommitdiff
path: root/core/upb_table.c
diff options
context:
space:
mode:
Diffstat (limited to 'core/upb_table.c')
-rw-r--r--core/upb_table.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/upb_table.c b/core/upb_table.c
index b91776c..b860204 100644
--- a/core/upb_table.c
+++ b/core/upb_table.c
@@ -179,7 +179,7 @@ static void strinsert(upb_strtable *t, upb_strtable_entry *e)
memcpy(strent(t, empty_bucket), table_e, t->t.entry_size); /* copies next */
upb_strtable_entry *evictee_e = strent(t, evictee_bucket);
while(1) {
- assert(!upb_string_isnull(evictee_e->key));
+ assert(evictee_e->key);
assert(evictee_e->next != UPB_END_OF_CHAIN);
if(evictee_e->next == bucket) {
evictee_e->next = empty_bucket;
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback