From b2ee732321ab59e4d4ce3c448e2f1ed0ae9d5698 Mon Sep 17 00:00:00 2001 From: Akash Date: Fri, 23 Oct 2015 20:26:04 +0530 Subject: [PATCH] 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. --- pcsx2/DebugTools/Debug.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/pcsx2/DebugTools/Debug.h b/pcsx2/DebugTools/Debug.h index 9e9e4b0fd..a55c0080a 100644 --- a/pcsx2/DebugTools/Debug.h +++ b/pcsx2/DebugTools/Debug.h @@ -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