mirror of
https://github.com/libretro/pcsx2.git
synced 2024-12-13 12:36:41 +00:00
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).
|
||||
class SysTraceLog : public TextFileTraceLog
|
||||
{
|
||||
public:
|
||||
const char* PrePrefix;
|
||||
|
||||
public:
|
||||
TraceLog_ImplementBaseAPI(SysTraceLog)
|
||||
|
||||
@ -77,12 +74,6 @@ public:
|
||||
|
||||
void DoWrite( const char *fmt ) const;
|
||||
|
||||
SysTraceLog& SetPrefix( const char* name )
|
||||
{
|
||||
PrePrefix = name;
|
||||
return *this;
|
||||
}
|
||||
|
||||
};
|
||||
|
||||
class SysTraceLog_EE : public SysTraceLog
|
||||
|
Loading…
Reference in New Issue
Block a user