mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-19 14:38:18 +00:00
Revert "Initialize all ghost item member (Closed #8297)"
This reverts commitf319ed239a
. Initializing these variables with junk data doesn't seem to be an improvement over not initializing them. It hides potential Valgrind warnings about data accesses to uninitialized memory though.f319ed239a (r1590801501)
This commit is contained in:
parent
df30321f52
commit
3a48b8e6cf
|
@ -700,11 +700,11 @@ public:
|
|||
char m_aFilename[IO_MAX_PATH_LENGTH];
|
||||
char m_aPlayer[MAX_NAME_LENGTH];
|
||||
|
||||
bool m_Failed = true;
|
||||
int m_Time = 0;
|
||||
int m_Slot = -1;
|
||||
bool m_Own = false;
|
||||
time_t m_Date = 0;
|
||||
bool m_Failed;
|
||||
int m_Time;
|
||||
int m_Slot;
|
||||
bool m_Own;
|
||||
time_t m_Date;
|
||||
|
||||
CGhostItem() :
|
||||
m_Slot(-1), m_Own(false) { m_aFilename[0] = 0; }
|
||||
|
|
Loading…
Reference in a new issue