Remove dead return and simplify code.

llvm-svn: 203266
This commit is contained in:
Ted Kremenek 2014-03-07 18:53:05 +00:00
parent 0b01471694
commit 090a273b55
1 changed files with 1 additions and 3 deletions

View File

@ -790,10 +790,8 @@ class CGObjCGNUstep : public CGObjCGNU {
if (copy) return SetPropertyAtomicCopy;
return SetPropertyAtomic;
}
if (copy) return SetPropertyNonAtomicCopy;
return SetPropertyNonAtomic;
return 0;
return copy ? SetPropertyNonAtomicCopy : SetPropertyNonAtomic;
}
};