From 7fc25b8962fd70f12e1ef3786f69f5563b8b4dba Mon Sep 17 00:00:00 2001 From: Nicholas Nethercote Date: Fri, 10 Jun 2016 09:51:14 -0400 Subject: [PATCH] Fix a trivial parsing bug caught by static analysis R=ted --- src/processor/basic_source_line_resolver.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }