Fix -Wunreachable-code-aggressive.

Bug: chromium:1066980
Change-Id: Iddd276bb884076591399433c6191425b3a131d0d
Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/2995406
Reviewed-by: Mike Frysinger <vapier@chromium.org>
This commit is contained in:
Peter Kasting 2021-06-29 17:55:31 -07:00 committed by Mike Frysinger
parent b95c4868b1
commit 04a9ffbe59

View file

@ -725,10 +725,8 @@ bool PDBSourceLineWriter::PrintFrameData() {
PDBModuleInfo info;
if (GetModuleInfo(&info) && info.cpu == L"x86_64") {
return PrintFrameDataUsingEXE();
} else {
return PrintFrameDataUsingPDB();
}
return false;
return PrintFrameDataUsingPDB();
}
bool PDBSourceLineWriter::PrintCodePublicSymbol(IDiaSymbol* symbol,