Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(117)

Unified Diff: src/processor/minidump.cc

Issue 1866533002: Remove unreferenced local variable which breaks build. (Closed) Base URL: https://chromium.googlesource.com/breakpad/breakpad.git@master
Patch Set: Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/processor/minidump.cc
diff --git a/src/processor/minidump.cc b/src/processor/minidump.cc
index 8b66f7c4630061715ef82e6273925b77e97facf4..9f60b2e03c14765d9d872bf16b923a822aad8b25 100644
--- a/src/processor/minidump.cc
+++ b/src/processor/minidump.cc
@@ -1930,9 +1930,8 @@ string MinidumpModule::debug_file() const {
file = reinterpret_cast<const char*>(cv_record_20->pdb_file_name);
} else if (cv_record_signature_ == MD_CVINFOELF_SIGNATURE) {
// It's actually an MDCVInfoELF structure.
- const MDCVInfoELF* cv_record_elf =
- reinterpret_cast<const MDCVInfoELF*>(&(*cv_record_)[0]);
- assert(cv_record_elf->cv_signature == MD_CVINFOELF_SIGNATURE);
+ assert(reinterpret_cast<const MDCVInfoELF*>(&(*cv_record_)[0])
+ ->cv_signature == MD_CVINFOELF_SIGNATURE);
// For MDCVInfoELF, the debug file is the code file.
file = *name_;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698