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()
|
SBTypeCategory::GetName()
|
||||||
{
|
{
|
||||||
if (!IsValid())
|
if (!IsValid())
|
||||||
return false;
|
return NULL;
|
||||||
return m_opaque_sp->GetName();
|
return m_opaque_sp->GetName();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue