Fix all warnings from the cppcoreguidelines-pro-type-member-init clang-tidy check (#4426)

This commit is contained in:
pajlada
2023-09-09 13:11:19 +02:00
committed by GitHub
parent 877a4e05fa
commit d4558b5fe5
26 changed files with 44 additions and 42 deletions
+2 -2
View File
@@ -27,14 +27,14 @@ namespace {
const rapidjson::Value &unparsedEmoji,
QString shortCode = QString())
{
std::array<uint32_t, 9> unicodeBytes;
std::array<uint32_t, 9> unicodeBytes{};
struct {
bool apple;
bool google;
bool twitter;
bool facebook;
} capabilities;
} capabilities{};
if (!shortCode.isEmpty())
{