forked from OSchip/llvm-project
Quiet a warning where we weren't checking if this was the same and rhs.
llvm-svn: 290687
This commit is contained in:
parent
2b59eca1f7
commit
02f74b0861
|
@ -33,7 +33,8 @@ CFBundle::CFBundle(const CFBundle &rhs)
|
|||
// CFBundle copy constructor
|
||||
//----------------------------------------------------------------------
|
||||
CFBundle &CFBundle::operator=(const CFBundle &rhs) {
|
||||
*this = rhs;
|
||||
if (this != &rhs)
|
||||
*this = rhs;
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue