SBTypeCategory::GetName returns const char* so return

NULL instead of false if no valid name (fixes compiler
warning).

llvm-svn: 153282
This commit is contained in:
Jason Molenda 2012-03-22 21:23:49 +00:00
parent a407b59ce8
commit c4530bfe21
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ const char*
SBTypeCategory::GetName()
{
if (!IsValid())
return false;
return NULL;
return m_opaque_sp->GetName();
}