mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-24 05:25:37 +00: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
@ -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…
x
Reference in New Issue
Block a user