mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
Zero-initialize the root pointer.
A casualty of one too many prospective refactors, and of zero-initialized stacks. Swift SVN r32456
This commit is contained in:
@@ -341,7 +341,7 @@ private:
|
||||
return root;
|
||||
}
|
||||
|
||||
Node *Root;
|
||||
Node *Root = nullptr;
|
||||
|
||||
public:
|
||||
PrefixMap() {}
|
||||
|
||||
Reference in New Issue
Block a user