mirror of
https://github.com/yuzu-emu/breakpad.git
synced 2024-11-24 08:25:49 +01:00
Remove unreferenced local variable which breaks build.
Depending on compiler's setting, the unreferenced local variable may cause build break. modified: src/processor/minidump.cc R=mark@chromium.org Review URL: https://codereview.chromium.org/1866533002 . Patch from Yunxiao Ma <yxma@google.com>.
This commit is contained in:
parent
46359276c8
commit
32901f6d4c
@ -1930,9 +1930,8 @@ string MinidumpModule::debug_file() const {
|
|||||||
file = reinterpret_cast<const char*>(cv_record_20->pdb_file_name);
|
file = reinterpret_cast<const char*>(cv_record_20->pdb_file_name);
|
||||||
} else if (cv_record_signature_ == MD_CVINFOELF_SIGNATURE) {
|
} else if (cv_record_signature_ == MD_CVINFOELF_SIGNATURE) {
|
||||||
// It's actually an MDCVInfoELF structure.
|
// It's actually an MDCVInfoELF structure.
|
||||||
const MDCVInfoELF* cv_record_elf =
|
assert(reinterpret_cast<const MDCVInfoELF*>(&(*cv_record_)[0])->
|
||||||
reinterpret_cast<const MDCVInfoELF*>(&(*cv_record_)[0]);
|
cv_signature == MD_CVINFOELF_SIGNATURE);
|
||||||
assert(cv_record_elf->cv_signature == MD_CVINFOELF_SIGNATURE);
|
|
||||||
|
|
||||||
// For MDCVInfoELF, the debug file is the code file.
|
// For MDCVInfoELF, the debug file is the code file.
|
||||||
file = *name_;
|
file = *name_;
|
||||||
|
Loading…
Reference in New Issue
Block a user