Skip to content

Commit 2e1e2b7

Browse files
committed
Fix warning in SerializerQt
1 parent 2c2e480 commit 2e1e2b7

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/serializeqt/SerializerQt.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1262,7 +1262,7 @@ void SerializerQt::Internal::serializeArrayBytesFixed(const std::vector<Bytes>&
12621262
}
12631263
for (std::uint32_t i = size; i < sizeFixed; ++i)
12641264
{
1265-
BytesElement empty;
1265+
BytesElement empty{};
12661266
serializeArray(&empty, 0);
12671267
}
12681268
}
@@ -1280,7 +1280,7 @@ void SerializerQt::Internal::serializeArrayBytesFixed(const std::vector<std::str
12801280
}
12811281
for (std::uint32_t i = size; i < sizeFixed; ++i)
12821282
{
1283-
BytesElement empty;
1283+
BytesElement empty{};
12841284
serializeArray(&empty, 0);
12851285
}
12861286
}

0 commit comments

Comments
 (0)