Fix an instance of -Wunused-but-set-variable.

Bug: chromium:1203071
Change-Id: I749fcfe30f9d634acb314a43f9c9ffcdbb26195c
Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/3053832
Reviewed-by: Sterling Augustine <saugustine@google.com>
This commit is contained in:
Peter Kasting 2021-07-26 04:04:49 -07:00 committed by Sterling Augustine
parent f080350795
commit 4c27c15b84

View file

@ -432,7 +432,7 @@ bool MinidumpGenerator::WriteMinidump() {
full_dump_file_, full_dump_file_,
static_cast<MINIDUMP_TYPE>((dump_type_ & (~MiniDumpNormal)) static_cast<MINIDUMP_TYPE>((dump_type_ & (~MiniDumpNormal))
| MiniDumpWithHandleData), | MiniDumpWithHandleData),
exception_pointers_ ? &dump_exception_info : NULL, dump_exception_pointers,
&user_streams, &user_streams,
NULL) != FALSE; NULL) != FALSE;
} }
@ -449,7 +449,7 @@ bool MinidumpGenerator::WriteMinidump() {
dump_file_, dump_file_,
static_cast<MINIDUMP_TYPE>((dump_type_ & (~MiniDumpWithFullMemory)) static_cast<MINIDUMP_TYPE>((dump_type_ & (~MiniDumpWithFullMemory))
| MiniDumpNormal), | MiniDumpNormal),
exception_pointers_ ? &dump_exception_info : NULL, dump_exception_pointers,
&user_streams, &user_streams,
callback_info_) != FALSE; callback_info_) != FALSE;