diff options
author | Josh Haberman <jhaberman@gmail.com> | 2014-08-09 03:43:32 -0700 |
---|---|---|
committer | Josh Haberman <jhaberman@gmail.com> | 2014-08-09 03:43:32 -0700 |
commit | d869097400048af4b943e0679bab21b759facb80 (patch) | |
tree | 933247f287a427202dc98904419e7dd27e683574 /upb/table.c | |
parent | cf2a959fa1fa48ca068dfecb6bee660b0a2ff395 (diff) |
Make the absence of perf-cppflags give a good default build.
Defaults are now:
- thread-safe with GCC/Clang
- Debugging not enabled (enable with -UNDEBUG)
Diffstat (limited to 'upb/table.c')
-rw-r--r-- | upb/table.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/upb/table.c b/upb/table.c index e0cac64..3fd4b0f 100644 --- a/upb/table.c +++ b/upb/table.c @@ -112,6 +112,7 @@ static bool lookup(const upb_table *t, upb_tabkey key, upb_value *v, // The given key must not already exist in the table. static void insert(upb_table *t, upb_tabkey key, upb_value val, hashfunc_t *hash, eqlfunc_t *eql) { + UPB_UNUSED(eql); assert(findentry(t, key, hash, eql) == NULL); assert(val.ctype == t->ctype); t->count++; |