Use integers instead of NULL.

llvm-svn: 153941
This commit is contained in:
Bill Wendling
2012-04-03 07:50:11 +00:00
parent 542f2429f3
commit ed24dcc05f
2 changed files with 4 additions and 4 deletions

View File

@@ -861,15 +861,15 @@ ObjectFileELF::ParseDynamicSymbols()
user_id_t dyn_id = GetSectionIndexByType(SHT_DYNAMIC);
if (!dyn_id)
return NULL;
return 0;
SectionList *section_list = GetSectionList();
if (!section_list)
return NULL;
return 0;
Section *dynsym = section_list->FindSectionByID(dyn_id).get();
if (!dynsym)
return NULL;
return 0;
ELFDynamic symbol;
DataExtractor dynsym_data;