mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-11-27 23:24:26 +01:00
Fix -Wnull-conversion warnings in breakpad.
Patch by Nico Weber <thakis@chromium.org> Review URL: https://breakpad.appspot.com/367001/ git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@938 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
a5477bbfab
commit
07b3445bf1
@ -394,7 +394,7 @@ uint64_t DynamicImages::GetDyldAllImageInfosPointer() {
|
||||
mach_msg_type_number_t count = TASK_DYLD_INFO_COUNT;
|
||||
if (task_info(task_, TASK_DYLD_INFO, (task_info_t)&task_dyld_info,
|
||||
&count) != KERN_SUCCESS) {
|
||||
return NULL;
|
||||
return 0;
|
||||
}
|
||||
|
||||
return (uint64_t)task_dyld_info.all_image_info_addr;
|
||||
|
@ -744,7 +744,7 @@ bool ExceptionHandler::Teardown() {
|
||||
}
|
||||
|
||||
handler_thread_ = NULL;
|
||||
handler_port_ = NULL;
|
||||
handler_port_ = MACH_PORT_NULL;
|
||||
pthread_mutex_destroy(&minidump_write_mutex_);
|
||||
|
||||
return result == KERN_SUCCESS;
|
||||
|
Loading…
Reference in New Issue
Block a user