summaryrefslogtreecommitdiff
path: root/upb/table.c
diff options
context:
space:
mode:
authorJoshua Haberman <jhaberman@gmail.com>2012-03-31 12:17:32 -0700
committerJoshua Haberman <jhaberman@gmail.com>2012-03-31 12:17:32 -0700
commitcca4818eb7769d6e776bdc30516a5f871f1d6393 (patch)
treee67dd65d5c016028ae976b09b2d69f6b7525aa5f /upb/table.c
parent26ed1e996171c8ffa2ced42ac69b1b82c1956e1f (diff)
Sync from internal Google development.
Diffstat (limited to 'upb/table.c')
-rw-r--r--upb/table.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/upb/table.c b/upb/table.c
index 4e3544e..1cf944a 100644
--- a/upb/table.c
+++ b/upb/table.c
@@ -86,6 +86,7 @@ static upb_value *upb_table_lookup(const upb_table *t, upb_tabkey key,
// The given key must not already exist in the table.
static void upb_table_insert(upb_table *t, upb_tabkey key, upb_value val,
upb_hashfunc_t *hash, upb_eqlfunc_t *eql) {
+ (void)eql;
assert(upb_table_lookup(t, key, hash, eql) == NULL);
t->count++;
upb_tabent *mainpos_e = hash(t, key);
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback