mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-19 04:49:47 -07:00
Initialize struct variables
clang static analyzer was emitting some warning about uninitialized variable usage and this patch fixes it.
This commit is contained in:
parent
2408ce98e6
commit
af430d6635
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue