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