Переглянути джерело

Removing some debug code

Source commit: 9a95775edff8b3a1693000d40449a377dd76b60f
Martin Prikryl 7 роки тому
батько
коміт
190d375f1a
2 змінених файлів з 0 додано та 12 видалено
  1. 0 8
      source/windows/UserInterface.cpp
  2. 0 4
      source/windows/WinInterface.h

+ 0 - 8
source/windows/UserInterface.cpp

@@ -381,14 +381,6 @@ void __fastcall ConfigureInterface()
   UserDocumentDirectory = GetPersonalFolder();
 }
 //---------------------------------------------------------------------------
-#ifdef _DEBUG
-void __fastcall ForceTracing()
-{
-  Tracing::ForceTraceOn();
-  SetTraceFileCallback(GetTraceFileCallback());
-}
-#endif
-//---------------------------------------------------------------------------
 void __fastcall DoAboutDialog(TConfiguration *Configuration)
 {
   DoAboutDialog(Configuration, true, NULL);

+ 0 - 4
source/windows/WinInterface.h

@@ -508,10 +508,6 @@ UnicodeString DumpCallstackEventName(int ProcessId);
 UnicodeString DumpCallstackFileName(int ProcessId);
 
 void CheckConfigurationForceSave();
-
-#ifdef _DEBUG
-void __fastcall ForceTracing();
-#endif
 //---------------------------------------------------------------------------
 #define HIDDEN_WINDOW_NAME L"WinSCPHiddenWindow3"
 //---------------------------------------------------------------------------