I've got some code parsing json like so:
QJsonParseError errors;
auto doc = QJsonDocument::fromJson(myJson.toUtf8(), &errors);
Resharper's clang tidy suggestions flags that QJsonParseError errors is an 'uninitialized record type'
The suggested fix is to zero initialize the variable via {} for C++11. The autofix offered by resharper, puts in some brackets like: QJsonParseError errors{};
What does that actually mean/do?