Fix a trivial parsing bug caught by static analysis
R=ted
This commit is contained in:
parent
c65ed6573e
commit
7fc25b8962
@ -483,7 +483,7 @@ bool SymbolParseHelper::ParseFile(char *file_line, long *index,
|
||||
}
|
||||
|
||||
*filename = tokens[1];
|
||||
if (!filename) {
|
||||
if (!*filename) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user