We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d243261 + b07bc61 commit ab59308Copy full SHA for ab59308
stdlib/public/runtime/Metadata.cpp
@@ -2473,7 +2473,7 @@ swift::swift_getForeignTypeMetadata(ForeignTypeMetadata *nonUnique) {
2473
// saved iterator if it's still valid. This should only be called
2474
// while the lock is held.
2475
decltype(foreignTypes.Types.begin()) savedIterator;
2476
- size_t savedSize;
+ size_t savedSize = 0;
2477
auto getCurrentEntry = [&]() -> const ForeignTypeMetadata *& {
2478
// The iterator may have been invalidated if the size of the map
2479
// has changed since the last lookup.
0 commit comments