fix warning with gcc 4.1 (ptr to bool convertion)
llvm-svn: 51324
This commit is contained in:
parent
b8b9805cc2
commit
652eaab03c
|
|
@ -160,7 +160,7 @@ bool BasicObjCFoundationChecks::Audit(ExplodedNode<ValueState>* N) {
|
|||
ObjCInterfaceType* ReceiverType = GetReceiverType(ME);
|
||||
|
||||
if (!ReceiverType)
|
||||
return NULL;
|
||||
return false;
|
||||
|
||||
const char* name = ReceiverType->getDecl()->getIdentifier()->getName();
|
||||
|
||||
|
|
@ -177,7 +177,7 @@ bool BasicObjCFoundationChecks::Audit(ExplodedNode<ValueState>* N) {
|
|||
if (isNSString(ReceiverType, name))
|
||||
return AuditNSString(N, ME);
|
||||
|
||||
return false;
|
||||
return false;
|
||||
}
|
||||
|
||||
static inline bool isNil(RVal X) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue