Fixed a warning.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9366 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -158,13 +158,11 @@ BNetAddress::BNetAddress( BMessage* archive )
|
||||
* Input parameter:
|
||||
* refparam : Instance to assign from.
|
||||
*/
|
||||
BNetAddress& BNetAddress::operator=( const BNetAddress& refparam )
|
||||
BNetAddress & BNetAddress::operator=( const BNetAddress& refparam )
|
||||
{
|
||||
if ( clone( refparam ) == B_OK )
|
||||
{
|
||||
return *this;
|
||||
}
|
||||
clone(refparam);
|
||||
// TODO: what do return on clone() failure!?
|
||||
return *this;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user