forked from qt-creator/qt-creator
Debugger: Initialize members in WatchItem
Reported by Coverity. Change-Id: I1af8a329b74f46af9cfab01749b57c031e4cd636 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
committed by
Orgad Shaneh
parent
823b8c77a5
commit
a0657f5d60
@@ -63,9 +63,9 @@ public:
|
|||||||
QString editformat; // Format of displayed value
|
QString editformat; // Format of displayed value
|
||||||
DebuggerEncoding editencoding; // Encoding of displayed value
|
DebuggerEncoding editencoding; // Encoding of displayed value
|
||||||
QString type; // Type for further processing
|
QString type; // Type for further processing
|
||||||
quint64 address; // Displayed address of the actual object
|
quint64 address = 0; // Displayed address of the actual object
|
||||||
quint64 origaddr; // Address of the pointer referencing this item (gdb auto-deref)
|
quint64 origaddr = 0; // Address of the pointer referencing this item (gdb auto-deref)
|
||||||
uint size; // Size
|
uint size = 0; // Size
|
||||||
uint bitpos = 0; // Position within bit fields
|
uint bitpos = 0; // Position within bit fields
|
||||||
uint bitsize = 0; // Size in case of bit fields
|
uint bitsize = 0; // Size in case of bit fields
|
||||||
uint autoDerefCount = 0; // number of levels of automatic dereferencing that has taken place (for pointer types)
|
uint autoDerefCount = 0; // number of levels of automatic dereferencing that has taken place (for pointer types)
|
||||||
|
Reference in New Issue
Block a user