summaryrefslogtreecommitdiffstats
path: root/lldb/source/Host/macosx/cfcpp/CFCMutableSet.cpp
diff options
context:
space:
mode:
authorGreg Clayton <gclayton@apple.com>2010-07-23 15:37:46 +0000
committerGreg Clayton <gclayton@apple.com>2010-07-23 15:37:46 +0000
commit19503a2a78319cc52c3b7a295d7df1ce0574c290 (patch)
tree40be9cadea21640c5732e9a24c0f0be162070104 /lldb/source/Host/macosx/cfcpp/CFCMutableSet.cpp
parent5e6ef6d957c28f272fdc7d413e79aadb54050090 (diff)
downloadbcm5719-llvm-19503a2a78319cc52c3b7a295d7df1ce0574c290.tar.gz
bcm5719-llvm-19503a2a78319cc52c3b7a295d7df1ce0574c290.zip
Warnings cleanup patch from Jean-Daniel Dupas.
llvm-svn: 109226
Diffstat (limited to 'lldb/source/Host/macosx/cfcpp/CFCMutableSet.cpp')
-rw-r--r--lldb/source/Host/macosx/cfcpp/CFCMutableSet.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Host/macosx/cfcpp/CFCMutableSet.cpp b/lldb/source/Host/macosx/cfcpp/CFCMutableSet.cpp
index cd253704e2d..afc09e180b6 100644
--- a/lldb/source/Host/macosx/cfcpp/CFCMutableSet.cpp
+++ b/lldb/source/Host/macosx/cfcpp/CFCMutableSet.cpp
@@ -84,7 +84,7 @@ CFCMutableSet::AddValue(const void *value, bool can_create)
if (set == NULL)
{
if (can_create == false)
- return false;
+ return NULL;
set = ::CFSetCreateMutable(kCFAllocatorDefault, 0, &kCFTypeSetCallBacks);
reset ( set );
}
OpenPOWER on IntegriCloud