mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-11-24 07:35:38 +01:00
Fix one more -Wnull-conversion warning.
Patch by Nico Weber <thakis@chromium.org> Review URL: https://breakpad.appspot.com/370001/ git-svn-id: http://google-breakpad.googlecode.com/svn/trunk@939 4c0a9323-5329-0410-9bdc-e9ce6186880e
This commit is contained in:
parent
07b3445bf1
commit
f6147a6460
@ -364,7 +364,8 @@ bool ExceptionHandler::WriteMinidumpWithException(int exception_type,
|
||||
// destructor is executed, closing the newly created minidump file.
|
||||
if (!dump_path_.empty()) {
|
||||
MinidumpGenerator md(mach_task_self(),
|
||||
report_current_thread ? NULL : mach_thread_self());
|
||||
report_current_thread ? MACH_PORT_NULL :
|
||||
mach_thread_self());
|
||||
if (exception_type && exception_code) {
|
||||
// If this is a real exception, give the filter (if any) a chance to
|
||||
// decide if this should be sent.
|
||||
|
Loading…
Reference in New Issue
Block a user