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
+2 -4
View File
@@ -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;
} }