1
0
mirror of https://github.com/d47081/qBittorrent.git synced 2025-03-09 20:01:08 +00:00

Merge pull request #12299 from Chocobo1/initialize

Initialize struct variables
This commit is contained in:
Mike Tzou 2020-03-28 10:53:38 +08:00 committed by GitHub
commit 82c23e67a4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,10 +64,10 @@ namespace
struct DataFieldDescriptor struct DataFieldDescriptor
{ {
DataType fieldType; DataType fieldType {DataType::Unknown};
union union
{ {
quint32 fieldSize; quint32 fieldSize = 0;
quint32 offset; // Pointer quint32 offset; // Pointer
}; };
}; };