Skip to content
This repository was archived by the owner on May 21, 2019. It is now read-only.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit f5dc0fc

Browse files
committedMar 22, 2012
SBTypeCategory::GetName returns const char* so return
NULL instead of false if no valid name (fixes compiler warning). git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@153282 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 685099b commit f5dc0fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎source/API/SBTypeCategory.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ const char*
7575
SBTypeCategory::GetName()
7676
{
7777
if (!IsValid())
78-
return false;
78+
return NULL;
7979
return m_opaque_sp->GetName();
8080
}
8181

0 commit comments

Comments
 (0)