diff --git a/src/google/protobuf/map_field.cc b/src/google/protobuf/map_field.cc index 24ce61d8e7..5eabf4a9d5 100644 --- a/src/google/protobuf/map_field.cc +++ b/src/google/protobuf/map_field.cc @@ -60,6 +60,7 @@ VariantKey RealKeyToVariantKey::operator()(const MapKey& value) const { return VariantKey(static_cast(value.GetBoolValue())); default: ABSL_ASSUME(false); + return VariantKey(uint64_t{}); } }