Merge pull request #7839 from ShFil119/impr/redundant

Remove redundant initialization
This commit is contained in:
Léo Lam
2019-05-04 22:50:51 +02:00
committed by GitHub
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)