diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-02 20:55:54 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-02 20:55:54 +0000 |
commit | 40b39cebd5aa00ee8150f84a2b7987b5595ef2fc (patch) | |
tree | 53e08d393efaaf1d148dced1da8ea644d8816757 /plugins/Clist_nicer/src | |
parent | ab53b72bf7067feb9dede0fd76b5a3cbc13863b9 (diff) |
unused code removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@13975 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Clist_nicer/src')
-rw-r--r-- | plugins/Clist_nicer/src/Include/clc.h | 9 | ||||
-rw-r--r-- | plugins/Clist_nicer/src/init.cpp | 45 |
2 files changed, 0 insertions, 54 deletions
diff --git a/plugins/Clist_nicer/src/Include/clc.h b/plugins/Clist_nicer/src/Include/clc.h index 5e93ec0b54..a196275b15 100644 --- a/plugins/Clist_nicer/src/Include/clc.h +++ b/plugins/Clist_nicer/src/Include/clc.h @@ -450,15 +450,6 @@ void CluiProtocolStatusChanged(int, const char*); void LoadSkinItemToCache(struct TExtraCache *cEntry);
-// debugging support
-
-void _DebugTraceW(const wchar_t *fmt, ...);
-#ifdef _CLN_GDIP
-extern "C" void _DebugTraceA(const char *fmt, ...);
-#else
-void _DebugTraceA(const char *fmt, ...);
-#endif
-
// Docking.c
int Docking_IsDocked(WPARAM wParam, LPARAM lParam);
diff --git a/plugins/Clist_nicer/src/init.cpp b/plugins/Clist_nicer/src/init.cpp index f2c3b197ec..b90842317c 100644 --- a/plugins/Clist_nicer/src/init.cpp +++ b/plugins/Clist_nicer/src/init.cpp @@ -82,51 +82,6 @@ PLUGININFOEX pluginInfo = {0x8f79b4ee, 0xeb48, 0x4a03, {0x87, 0x3e, 0x27, 0xbe, 0x6b, 0x7e, 0x9a, 0x25}}
};
-
-void _DebugTraceW(const wchar_t *fmt, ...)
-{
-#ifdef _DEBUG
- wchar_t debug[2048];
- int ibsize = 2047;
- va_list va;
- va_start(va, fmt);
-
- mir_wstrcpy(debug, L"CLN: ");
-
- mir_vsnwprintf(&debug[5], ibsize - 10, fmt, va);
- OutputDebugStringW(debug);
-#endif
-}
-
-
-void _DebugTraceA(const char *fmt, ...)
-{
- char debug[2048];
- int ibsize = 2047;
- va_list va;
- va_start(va, fmt);
-
- mir_strcpy(debug, "CLN: ");
- mir_vsnprintf(&debug[5], ibsize - 10, fmt, va);
-#ifdef _DEBUG
- OutputDebugStringA(debug);
-#else
- {
- char szLogFileName[MAX_PATH], szDataPath[MAX_PATH];
- FILE *f;
-
- CallService(MS_DB_GETPROFILEPATH, MAX_PATH, (LPARAM)szDataPath);
- mir_snprintf(szLogFileName, SIZEOF(szLogFileName), "%s\\%s", szDataPath, "clist_nicer.log");
- f = fopen(szLogFileName, "a+");
- if (f) {
- fputs(debug, f);
- fputs("\n", f);
- fclose(f);
- }
- }
-#endif
-}
-
BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD, LPVOID)
{
g_hInst = hInstDLL;
|