Fix clang-tidy readability-redundant-control-flow warnings

This commit is contained in:
Eduardo Almeida
2022-09-29 20:06:57 +01:00
parent 959e9b9873
commit 820ad760b8
47 changed files with 0 additions and 389 deletions

View File

@@ -177,13 +177,11 @@ void SendStuff (Ptr<Socket> sock, Ipv4Address dstaddr, uint16_t port)
Ptr<Packet> p = Create<Packet> ();
p->AddPaddingAtEnd (100);
sock->SendTo (p, 0, InetSocketAddress (dstaddr,port));
return;
}
void BindSock (Ptr<Socket> sock, Ptr<NetDevice> netdev)
{
sock->BindToNetDevice (netdev);
return;
}
void

View File

@@ -192,7 +192,6 @@ main (int argc, char *argv[])
void BindSock (Ptr<Socket> sock, Ptr<NetDevice> netdev)
{
sock->BindToNetDevice (netdev);
return;
}
void StartFlow (Ptr<Socket> localSocket,