Fixed a warning.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9366 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Philippe Houdoin
2004-10-15 11:49:02 +00:00
parent 085a73c43c
commit 4907c35be7
+3 -5
View File
@@ -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;
}