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.
1 parent fb2c0b2 commit b07bc61Copy full SHA for b07bc61
stdlib/public/runtime/Metadata.cpp
@@ -2553,7 +2553,7 @@ swift::swift_getForeignTypeMetadata(ForeignTypeMetadata *nonUnique) {
2553
// saved iterator if it's still valid. This should only be called
2554
// while the lock is held.
2555
decltype(foreignTypes.Types.begin()) savedIterator;
2556
- size_t savedSize;
+ size_t savedSize = 0;
2557
auto getCurrentEntry = [&]() -> const ForeignTypeMetadata *& {
2558
// The iterator may have been invalidated if the size of the map
2559
// has changed since the last lookup.
0 commit comments