diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2014-12-14 14:52:25 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2014-12-14 14:52:25 +0000 |
commit | ad9ea188764830dad666490867c07a9891b7e854 (patch) | |
tree | a06e77f6a660082423bdd1f10253ba97eddb32a2 /plugins/CrashDumper/src/crshdmp.cpp | |
parent | 67a6632c79ee755a468b2d2bd28d470104f2b4da (diff) |
CrashDumper: changed warning lavel to w4
git-svn-id: http://svn.miranda-ng.org/main/trunk@11410 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/CrashDumper/src/crshdmp.cpp')
-rw-r--r-- | plugins/CrashDumper/src/crshdmp.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/plugins/CrashDumper/src/crshdmp.cpp b/plugins/CrashDumper/src/crshdmp.cpp index e517913700..e66d7796ae 100644 --- a/plugins/CrashDumper/src/crshdmp.cpp +++ b/plugins/CrashDumper/src/crshdmp.cpp @@ -191,8 +191,8 @@ static int FoldersPathChanged(WPARAM, LPARAM) fgd.cbSize = sizeof(FOLDERSGETDATA);
fgd.nMaxPathSize = MAX_PATH;
fgd.flags = FF_TCHAR;
-// fgd.szPathT = CrashLogFolder;
-// CallService(MS_FOLDERS_GET_PATH, (WPARAM)hCrashLogFolder, (LPARAM)&fgd);
+ // fgd.szPathT = CrashLogFolder;
+ // CallService(MS_FOLDERS_GET_PATH, (WPARAM)hCrashLogFolder, (LPARAM)&fgd);
fgd.szPathT = VersionInfoFolder;
CallService(MS_FOLDERS_GET_PATH, (WPARAM)hVerInfoFolder, (LPARAM)&fgd);
@@ -250,7 +250,7 @@ static int ModulesLoaded(WPARAM, LPARAM) replaceStrT(profpath, _T("%miranda_userdata%"));
// Removed because it isn't available on Load()
-// hCrashLogFolder = FoldersRegisterCustomPathT(PluginName, LPGEN("Crash Reports"), CrashLogFolder);
+ // hCrashLogFolder = FoldersRegisterCustomPathT(PluginName, LPGEN("Crash Reports"), CrashLogFolder);
hVerInfoFolder = FoldersRegisterCustomPathT(PluginName, LPGEN("Version Information"), VersionInfoFolder);
HookEvent(ME_FOLDERS_PATH_CHANGED, FoldersPathChanged);
@@ -337,7 +337,7 @@ static int ModulesLoaded(WPARAM, LPARAM) hk.pszName = "ShowVerInfo";
hk.pszService = MS_CRASHDUMPER_VIEWINFO;
Hotkey_Register(&hk);
-
+
UploadInit();
if (catchcrashes && !needrestart)
@@ -413,7 +413,7 @@ extern "C" int __declspec(dllexport) Unload(void) return 0;
}
-extern "C" BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID /*lpvReserved*/)
+extern "C" BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD, LPVOID)
{
hInst = hinstDLL;
return TRUE;
|