This change mitigates a Coverity diagnostic about reading uninitialized memory (https://cwe.mitre.org/data/definitions/457.html).
The following snippet demonstrates the case.
SmallVector<int, 4> func(int a) {
if (a == 0) {
return {}; // To get around RVO.
}
SmallVector<int, 4> ret;
return ret;}