Fix bad pointer comparison
Bug: None Change-Id: I7f3709ee7e8b7e9e938850b1bbe24925e3e03c9b Reviewed-on: https://chromium-review.googlesource.com/c/breakpad/breakpad/+/5300127 Reviewed-by: Mark Mentovai <mark@chromium.org>
This commit is contained in:
parent
f80f288803
commit
a1169061a8
1 changed files with 1 additions and 1 deletions
|
@ -394,7 +394,7 @@ bool DumpSymbols::CreateEmptyModule(scoped_ptr<Module>& module) {
|
|||
// In certain cases, it is possible that architecture info can't be reliably
|
||||
// determined, e.g. new architectures that breakpad is unware of. In that
|
||||
// case, avoid crashing and return false instead.
|
||||
if (selected_arch_name == kUnknownArchName) {
|
||||
if (strcmp(selected_arch_name, kUnknownArchName) == 0) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue