diff options
author | Nicholas Nethercote <nnethercote@mozilla.com> | 2016-06-10 09:51:14 -0400 |
---|---|---|
committer | Ted Mielczarek <ted@mielczarek.org> | 2016-06-10 09:51:14 -0400 |
commit | 7fc25b8962fd70f12e1ef3786f69f5563b8b4dba (patch) | |
tree | cbb8260cd19d10f8c010674f0adcb5efec32034b | |
parent | Update symbol file documentation links. (diff) | |
download | breakpad-7fc25b8962fd70f12e1ef3786f69f5563b8b4dba.tar.xz |
Fix a trivial parsing bug caught by static analysis
R=ted
-rw-r--r-- | src/processor/basic_source_line_resolver.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/processor/basic_source_line_resolver.cc b/src/processor/basic_source_line_resolver.cc index d0855a30..aa66e159 100644 --- a/src/processor/basic_source_line_resolver.cc +++ b/src/processor/basic_source_line_resolver.cc @@ -483,7 +483,7 @@ bool SymbolParseHelper::ParseFile(char *file_line, long *index, } *filename = tokens[1]; - if (!filename) { + if (!*filename) { return false; } |