Fix all uninitialized variable warnings (C26495)

This commit is contained in:
Pokechu22 committed 2021-10-13 12:32:16 -07:00
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);
+1 -1
View File
@@ -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)
+2 -2
View File
@@ -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);
};
+1 -1
View File
@@ -131,7 +131,7 @@ public:
u32 GetImportsNameTable() const;
private:
RSOHeader m_header;
RSOHeader m_header{};
std::string m_name;
u32 m_address = 0;
};