Fix all uninitialized variable warnings (C26495)
This commit is contained in:
1 parent
525e6b2194
commit
78bfd25964
111 files changed
+638
-651
No files matched your search
@@ -15,7 +15,7 @@ namespace Dolphin_Debugger
|
||||
struct CallstackEntry
|
||||
{
|
||||
std::string Name;
|
||||
u32 vAddress;
|
||||
u32 vAddress = 0;
|
||||
};
|
||||
|
||||
bool GetCallstack(std::vector<CallstackEntry>& output);
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#include "Common/CommonTypes.h"
|
||||
#include "Common/IOFile.h"
|
||||
|
||||
CDump::CDump(const std::string& filename) : m_pData(nullptr)
|
||||
CDump::CDump(const std::string& filename)
|
||||
{
|
||||
File::IOFile pStream(filename, "rb");
|
||||
if (pStream)
|
||||
|
||||
@@ -27,9 +27,9 @@ private:
|
||||
STRUCTUR_SIZE = 0x2BC
|
||||
};
|
||||
|
||||
u8* m_pData;
|
||||
u8* m_pData = nullptr;
|
||||
|
||||
size_t m_size;
|
||||
size_t m_size = 0;
|
||||
|
||||
u32 Read32(u32 _pos);
|
||||
};
|
||||
@@ -131,7 +131,7 @@ public:
|
||||
u32 GetImportsNameTable() const;
|
||||
|
||||
private:
|
||||
RSOHeader m_header;
|
||||
RSOHeader m_header{};
|
||||
std::string m_name;
|
||||
u32 m_address = 0;
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user