diff options
Diffstat (limited to 'upb/table.h')
-rw-r--r-- | upb/table.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/upb/table.h b/upb/table.h index 2b4c80c..f96dee9 100644 --- a/upb/table.h +++ b/upb/table.h @@ -164,6 +164,7 @@ void upb_inttable_compact(upb_inttable *t); // A special-case inlinable version of the lookup routine for 32-bit integers. UPB_INLINE bool upb_inttable_lookup32(const upb_inttable *t, uint32_t key, upb_value *v) { + *v = upb_value_int32(0); // Silence compiler warnings. if (key < t->array_size) { _upb_value arrval = t->array[key]; if (upb_arrhas(arrval)) { |