Remove redundant initialization

This commit is contained in:
Filip Gawin
2019-03-02 19:42:25 +01:00
parent 8e1fb126d7
commit c110ffcdaa
17 changed files with 25 additions and 25 deletions

View File

@ -118,8 +118,8 @@ static const char* regnames[32] = {"r0", "sp", "rtoc", "r3", "r4", "r5", "r
// Initialize static class variables.
u32* GekkoDisassembler::m_instr = nullptr;
u32* GekkoDisassembler::m_iaddr = nullptr;
std::string GekkoDisassembler::m_opcode = "";
std::string GekkoDisassembler::m_operands = "";
std::string GekkoDisassembler::m_opcode;
std::string GekkoDisassembler::m_operands;
unsigned char GekkoDisassembler::m_type = 0;
unsigned char GekkoDisassembler::m_flags = PPCF_ILLEGAL;
unsigned short GekkoDisassembler::m_sreg = 0;

View File

@ -25,7 +25,7 @@ u32 Profiler::s_max_length = 0;
u64 Profiler::s_frame_time;
u64 Profiler::s_usecs_frame;
std::string Profiler::s_lazy_result = "";
std::string Profiler::s_lazy_result;
int Profiler::s_lazy_delay = 0;
Profiler::Profiler(const std::string& name)