mirror of
https://git.suyu.dev/suyu/breakpad.git
synced 2026-01-12 01:18:03 +01:00
Treat warnings as error and fix most level 4 warnings in the breakpad windows client projects.
Some of the lint errors in the files touched by this change were also fixed. BUG=533 Review URL: https://breakpad.appspot.com/601002 git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@1189 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
5bdee65f7a
commit
6b46d4e872
12 changed files with 173 additions and 124 deletions
|
|
@ -96,7 +96,7 @@ ExceptionHandler::ExceptionHandler(const wstring& dump_path,
|
|||
pipe_handle,
|
||||
NULL, // crash_generation_client
|
||||
custom_info);
|
||||
}
|
||||
}
|
||||
|
||||
ExceptionHandler::ExceptionHandler(
|
||||
const wstring& dump_path,
|
||||
|
|
@ -104,19 +104,19 @@ ExceptionHandler::ExceptionHandler(
|
|||
MinidumpCallback callback,
|
||||
void* callback_context,
|
||||
int handler_types,
|
||||
MINIDUMP_TYPE dump_type,
|
||||
CrashGenerationClient* crash_generation_client,
|
||||
const CustomClientInfo* custom_info) {
|
||||
CrashGenerationClient* crash_generation_client) {
|
||||
// The dump_type, pipe_name and custom_info that are passed in to Initialize()
|
||||
// are not used. The ones set in crash_generation_client are used instead.
|
||||
Initialize(dump_path,
|
||||
filter,
|
||||
callback,
|
||||
callback_context,
|
||||
handler_types,
|
||||
MiniDumpNormal,
|
||||
NULL, // pipe_name
|
||||
NULL, // pipe_handle
|
||||
MiniDumpNormal, // dump_type - not used
|
||||
NULL, // pipe_name - not used
|
||||
NULL, // pipe_handle
|
||||
crash_generation_client,
|
||||
custom_info);
|
||||
NULL); // custom_info - not used
|
||||
}
|
||||
|
||||
ExceptionHandler::ExceptionHandler(const wstring &dump_path,
|
||||
|
|
@ -875,7 +875,7 @@ BOOL CALLBACK ExceptionHandler::MinidumpWriteDumpCallback(
|
|||
callback_context->iter++;
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
|
||||
// Include all modules.
|
||||
case IncludeModuleCallback:
|
||||
case ModuleCallback:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue