mirror of https://github.com/PCSX2/pcsx2.git
pcsx2-debug: Initialize all class members
CID 147005 (#1 of 1): Uninitialized pointer field (UNINIT_CTOR)2. uninit_member: Non-static class member PrePrefix is not initialized in this constructor nor in any functions that it calls.
This commit is contained in:
parent
1512b3ba6c
commit
b2ee732321
|
@ -65,9 +65,6 @@ struct SysTraceLogDescriptor
|
||||||
// logging volume).
|
// logging volume).
|
||||||
class SysTraceLog : public TextFileTraceLog
|
class SysTraceLog : public TextFileTraceLog
|
||||||
{
|
{
|
||||||
public:
|
|
||||||
const char* PrePrefix;
|
|
||||||
|
|
||||||
public:
|
public:
|
||||||
TraceLog_ImplementBaseAPI(SysTraceLog)
|
TraceLog_ImplementBaseAPI(SysTraceLog)
|
||||||
|
|
||||||
|
@ -77,12 +74,6 @@ public:
|
||||||
|
|
||||||
void DoWrite( const char *fmt ) const;
|
void DoWrite( const char *fmt ) const;
|
||||||
|
|
||||||
SysTraceLog& SetPrefix( const char* name )
|
|
||||||
{
|
|
||||||
PrePrefix = name;
|
|
||||||
return *this;
|
|
||||||
}
|
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
class SysTraceLog_EE : public SysTraceLog
|
class SysTraceLog_EE : public SysTraceLog
|
||||||
|
|
Loading…
Reference in New Issue