forked from OSchip/llvm-project
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:
parent
a407b59ce8
commit
c4530bfe21
|
@ -75,7 +75,7 @@ const char*
|
|||
SBTypeCategory::GetName()
|
||||
{
|
||||
if (!IsValid())
|
||||
return false;
|
||||
return NULL;
|
||||
return m_opaque_sp->GetName();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue