mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-02-03 02:14:16 +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
|
||||
{
|
||||
DataType fieldType;
|
||||
DataType fieldType {DataType::Unknown};
|
||||
union
|
||||
{
|
||||
quint32 fieldSize;
|
||||
quint32 fieldSize = 0;
|
||||
quint32 offset; // Pointer
|
||||
};
|
||||
};
|
||||
|
Loading…
x
Reference in New Issue
Block a user