mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-27 23:41:02 +08:00
win: Fix some warnings reported by /analyze
Reported by brucedawson@chromium.org. R=mark@chromium.org BUG=chromium:427616 Review URL: https://codereview.chromium.org/1489293004 .
This commit is contained in:
parent
384fd93d6d
commit
894a06070e
@ -339,7 +339,6 @@ int HandlerMain(int argc, char* argv[]) {
|
||||
#elif defined(OS_WIN)
|
||||
ExceptionHandlerServer exception_handler_server(!options.pipe_name.empty());
|
||||
|
||||
std::string pipe_name;
|
||||
if (!options.pipe_name.empty()) {
|
||||
exception_handler_server.SetPipeName(base::UTF8ToUTF16(options.pipe_name));
|
||||
} else if (options.handshake_handle != INVALID_HANDLE_VALUE) {
|
||||
|
@ -224,7 +224,7 @@ bool ReadProcessData(HANDLE process,
|
||||
ProcessInfo* process_info) {
|
||||
typename Traits::Pointer peb_address;
|
||||
if (!AssignIfInRange(&peb_address, peb_address_vmaddr)) {
|
||||
LOG(ERROR) << base::StringPrintf("peb address 0x%x out of range",
|
||||
LOG(ERROR) << base::StringPrintf("peb address 0x%llx out of range",
|
||||
peb_address_vmaddr);
|
||||
return false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user