Skip to content

Commit

Permalink
Minor fix to ae60869
Browse files Browse the repository at this point in the history
  • Loading branch information
ZequanWu committed Jun 13, 2022
1 parent ae60869 commit 98c2a85
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -1052,7 +1052,7 @@ uint32_t SymbolFileNativePDB::ResolveSymbolContext(
for (uint32_t cu_idx = 0, num_cus = GetNumCompileUnits(); cu_idx < num_cus;
++cu_idx) {
CompileUnit *cu = ParseCompileUnitAtIndex(cu_idx).get();
if (!cu && cu->GetNumFunctions() == 0)
if (!cu || cu->GetNumFunctions() == 0)
continue;

bool file_spec_matches_cu_file_spec = FileSpec::Match(
Expand Down

0 comments on commit 98c2a85

Please sign in to comment.